Professional Documents
Culture Documents
Embedded Internship Ppt Final[1]
Embedded Internship Ppt Final[1]
DEPARTMENT OF
ELECTRONICS & COMMUNICATION ENGINEERING
Internship Presentation
On
Applied Computer Vision with Raspberry Pi
by
Shrinivas Raju Umachagi
USN: 4BD21EC097
3
Department Vision
Department Mission
M1. To facilitate the students with a profound technical knowledge through effective
teaching and learning process for a successful career.
M2. To impart quality education to strengthen students to meet the industry standards
and to face confidently the challenges in the program.
M3. To develop the essence of innovation and research among students and faculty by
providing infrastructure and a conducive environment.
M4. To inculcate the student community with ethical values, communication skills,
leadership qualities, entrepreneurial skills and lifelong learning to meet the societal
4
needs.
COURSE LEARNING OBJECTIVES
Introduction :
Embedded System
Hardware and Software
Specific Task
Given Time / Real Time
Introduction To IoT
Internet of Things
IOT = Internet + Things
The Internet is a vast network that
connects computers all
over the world.
Things are the Non-living objects /
devices
⚫ Internet of things will connect non-living things with living things- the
vision of IOT is to connect everything starting from industrial equipment to
everyday objects.
IOT Architecture
9
IoT Application
Smart home
Smart city
Smart wearables
Industrial automation
Connected cars
Connected health
Smart retail
Smart agriculture
Ⅲ Work carried out in third week :
1. Introduction to Raspberry Pi
• Is a fully functional computer in a tiny and low-cost package.
• Capability:
Programming
Electronic Projects
Office
Play HD Videos
Raspberry pi Models
Raspberry pi Model A Raspberry pi Model B
Pin Diagram & its Description:
Hardware Requirements :
Essential:
• Raspberry Pi board
• Prepared Operating System S D Card
• U S B keyboard
• Display (with HDMI, DVI, or Composite input)
• Power Supply
• U S B mouse
• Internet connectivity - LAN cable
• Heat sink for Processor
• Case
Power supply (SV,2.5A)
Class 10 micro S D card, 8GB or
more U S B keyboard
U S B mouse
HDMI
cable
HDMI
screen
Programming Language:
The Raspberry Pi Foundation recommends Python
Linux
Windows
Android
Custom O S
Screen
OpenHAB
Major Applications of Raspberry Pi
Hobby projects.
Low cost PC/tablet/laptop
IoT applications
Media center
Robotics
Industrial/Home automation
Server/cloud server
Print server
Security monitoring
Web camera
Gaming
Wireless access point
Environmental sensing/monitoring (e.g. WEATHER STATION)
Raspberry Pi Setup :
Programming in RPI
Open terminal
2. What is Python Programming
• Python is an
• general-purpose
• high-level
• programming language.
• Python is an
• high-level Interpreted
• programming language.
• Python Borrows
1. Functional Programming features From C
2. OOP features From C++
3. Scripting languages features from Perl and shell
script
4. Modular programming features from modula-3
Application of Python
Where we can use Python:
1.Desktop Application
2.Web Applications
3.Database Applications
4.Networking Applications
5.Games
6.Data Analysis
7.Machine Learning
8.AI
9.For IoT Applications…
10.Deep Learning
11.Neural Network
Features of Python
1. Simple and easy to learn
2. Freeware and Open Source
3. High-Level language
4. Platform Independent
5. Portability
6. Interpreted
7. Dynamically typed
8. Both object-oriented and procedure-oriented programming
language
9. Extensible
10. Embedded
11. Extensive Library
Cons of Python
1.Performance-wise Slower
2.Mobile Applications
3.Python is not suitable for large scales enterprise applications.. like
Bank and telecom applications
+ - * // / % **
• Arithmetic
== != > < >= <=
• Comparison
• Assignment = += -= *= //= /= %= **=
• Logical and or not
1.Modules
• A module is a file containing Python definitions and statements.
• The file name is the module name with the suffix .py appended.
• Within a module, the module’s name is available in the global variable
name .
Modules Example
fib.py - C:\
Ⅲ Work carried out in fourth week
Code:
Code
.
After Writing the code
Need to save and Exit
file
1. Press ctl + x
2. Press Y
3. Hit Enter
Result :
Relay Interfacing
Code
Code
Code
Code
Code
WORKING PROCEDURE
1. Libraries Import:
Cv2
Smtplib
Numpy
Playsound
2. Initialization:
• The script initializes a variable `Email _Send` to `False` and a
counter `Fire` to 0.
3. Functions:
• beep (): Plays a sound file ('alarm-sound.mp3') using the `play
sound` library.
• send_email (): Sends an email using a Gmail SMTP server to a
specified recipient email address if a fire is detected. The email
contains a warning message about a fire accident on the BIET
Campus.
4. Video Capture:
• Opens the computer's camera using ‘cv2.VideoCapture(0)’
5. Fire Alarm and Email Notification:
Applications:
Industrial Safety
Campus Security
Home Security
Wildfire Detection
Conclusion