Skip to content

Face Detection using OpenCV library for ESP32-CAM and Arduino IDE

Notifications You must be signed in to change notification settings

natgluons/ComputerVision-Webcam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESP32-CAM Face Detection with OpenCV

This project streams video from an ESP32-CAM and performs face detection using OpenCV in Python.

Overview

The ESP32-CAM is a cost-effective board with a built-in camera capable of streaming video over Wi-Fi. This project demonstrates how to use OpenCV to detect faces in real-time from the video stream provided by the ESP32-CAM.

Requirements

Hardware

  • ESP32-CAM (AI Thinker model)
  • USB-to-Serial adapter (for flashing the ESP32-CAM)

Software

  • Arduino IDE or PlatformIO for uploading the ESP32-CAM code
  • Python 3.x with OpenCV library

Use Case

This setup can be used for simple home security systems, smart doorbells, or any application requiring face detection on a live video stream.

Quick Start

  1. Set up the ESP32-CAM:

    • Upload the provided ESP32-CAM code using Arduino IDE or PlatformIO.
    • Connect the ESP32-CAM to your Wi-Fi network.
  2. Run the Python script:

    • Use the provided Python script to connect to the ESP32-CAM's video stream.
    • OpenCV will detect and highlight faces in the video feed.

Result

computervision_webcam

Arduino IDE

arduinoide

Releases

No releases published

Packages

No packages published