Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
108 views

Object Detection With ESP32 CAM and OpenCV

Uploaded by

Vedant Rajawat
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
108 views

Object Detection With ESP32 CAM and OpenCV

Uploaded by

Vedant Rajawat
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 15

MINOR PROJECT PRESENTATION

ON
Object Detection with ESP-32 Cam

Submitted to: Team Members :


Dr. Sanju Tanwar (Professor) Mohit Tak 21/552
Dr. Ranjan Maheshwari (Professor) Ishan Khan 21/546
Harish Suman 21/544
Shubham Mahavar 21/556
Vedant Rajawat 21/561

UNIVERSITY DEPARTMENT
RAJASTHAN TECHNICAL UNIVERSITY, KOTA
Object Detection
with ESP32 CAM
and OpenCV
This project explores a practical, low-cost method for object
detection using the ESP32 CAM module and OpenCV library.
We will implement a basic system capable of capturing
images, processing them for object detection, and
showcasing the results.
Aim and Objective
Aim Objectives

To create a simple object detection system using • Capture images using ESP32 CAM.
ESP32 CAM and OpenCV. • Process captured images using OpenCV for
object detection.
• Explore a practical, cost-effective method
for object recognition.
Hardware Requirements
ESP32 CAM Module
A low-cost microcontroller featuring an integrated
camera for capturing images.

FTDI Programmer
Used for flashing the ESP32 CAM with the required code.

Additional Components
Jumper wires, breadboard, power supply, USB cable.
ESP32 CAM
Module
A powerful, affordable, and versatile microcontroller with a
built-in camera.

Ideal for hobbyists and professionals in robotics, IoT, and


other fields.
FTDI Programmer
A small, portable circuit board with a USB interface and a variety of connections to program microcontrollers.

Provides an easy-to-use interface for transferring data and code to microcontrollers.

Flexibility Power Speed

Can be used to program Supplies power to the Faster than using a standard
different types of microcontroller during USB port for programming.
microcontrollers. programming.
Basic Electronics Components
Essential components for hobbyists and professionals to create electronic circuits.

They provide the building blocks for creating unique and functional electronic projects.

1 Jumper Wires
Flexible wires used to connect different components of a circuit.

2 Breadboard
A platform for prototyping electronic circuits.

3 Power Supply
Provides a source of power to the circuit.

4 USB Cable
Used to connect the circuit to a computer for data transfer and power.
Software Requirements
1 Arduino IDE 2 OpenCV Library
Used for uploading code to the ESP32 CAM module. A computer vision library used for processing
images and performing object detection.

3 Python Packages 4 Operating System


Install opencv-python and numpy. Windows, Linux, or macOS with Python installed
for running OpenCV.
Implementation – Step
1: ESP32 CAM Setup
1 Hardware Setup
Connect the ESP32 CAM to the FTDI
programmer using jumper wires for TX, RX,
power, and GND. Ensure a secure connection.

2 Upload Code
Use the Arduino IDE to upload code to the
ESP32 CAM that captures images and sends
them to the computer or stores them locally.
Implementation – Step 2:
OpenCV Setup
OpenCV Installation
Install the OpenCV library using the pip package
installer (pip install opencv-python).

Write Python Code


Write Python code using OpenCV to load the captured
images from the ESP32 CAM.

Object Detection
Utilize pre-trained Haar Cascades for basic object detection.
Implementation – Step 3:
Object Detection Process
Image Capture ESP32 CAM captures images
either on demand or at set
intervals.

Object Detection OpenCV uses pre-trained


models like Haar Cascades to
detect objects (e.g., faces) in
the images.

Example Display the image with


detected objects highlighted
by bounding boxes.
Troubleshooting

Connection Issues Incorrect Board Settings Camera Initialization Errors


Double-check wiring between the Verify the board settings in the Make sure the ESP32 CAM drivers
ESP32 CAM and FTDI programmer. Arduino IDE match the ESP32 CAM are properly installed and
Ensure the correct baud rate is module. configured.
set.
Performance Optimization
Challenges Optimizations

ESP32 CAM has limited processing power for real- • Reduce image resolution for faster processing.
time object detection. • Implement lightweight models like
MobileNet for object recognition.
Security Considerations
1 Privacy Concerns
Secure communication between ESP32 CAM and the
processing unit is essential.

2 Data Encryption
When sending image data over Wi-Fi, encrypt the data
to prevent unauthorized access.

3 Real-time Surveillance
While ESP32 CAM can be used for home security,
implement additional encryption and secure protocols
for secure surveillance.
Thank you

You might also like