Face Mask Detection using ESP32 CAM

Published Oct 21, 2021
 10 hours to build
 Intermediate

Detect face mask using ESP32 Cam. If results is mask wearing gate automatically open.

display image

Components Used

ESP32-cam
ESP32-cam
1
Servo Motor MG995
Servo Motor MG995
1
ESP8266 WiFi Module
ESP8266 is a system on chip (SoC) which provides WIFI capability for embedded applications. This enables internet connectivity to embedded applications. ESP8266 modules are mostly used in Internet of Things(IoT) applications.
1
Description

Description

The coronavirus disease 2019 (COVID-19) pandemic is currently perceived as one of the greatest global threats to public health and well-being and global economic and social stability. COVID-19 spreads mainly from person to person through respiratory droplets. Respiratory droplets travel into the air when you cough, sneeze, talk, shout or sing. These droplets can then land in the mouths or noses of people who are near you or they may breathe these droplets in. Masks are a simple barrier to help prevent your respiratory droplets from reaching others. Studies show that masks reduce the spray of droplets when worn over the nose and mouth.

First step:- Make own Face mask detection model using a Teachable machine.

That model upload in could and its generate model link. 

Second step:- Upload code in Esp-32 cam using Ttl Converter or Esp8266. Here I'm using Esp8266 for uploading code. 

Third step:- open local IP in your PC or laptop. Enter model link in Path and load model.   

 

Working model

https://www.youtube.com/shorts/jVm0z-xaeWM

Code:- 

https://drive.google.com/file/d/1OD_4gKIofsg1gyZeed0KtRXtNaTtPnzG/view?usp=drivesdk

 

Programming done and upload model
Our model working completely fine. 

Circuit Connection

Connection for uploading code
Codes
Comments
Ad