รถเข็นของคุณว่างเปล่า!
![Unlock a Door With Face Recognition Using ESP32 Camera Unlock a Door With Face Recognition Using ESP32 Camera](https://static.cytron.io/image/tutorial/unlock-a-door-with-face-recognition-using-esp32-camera/ESP32-Face-Recognition-Magnetic-Door-Lock.jpg)
Unlock a Door With Face Recognition Using ESP32 Camera
- Idris Zainal Abidin
- 12 Feb 2020
- 2030
Introduction
Face recognition have been used in smartphone in past few years. It is a cool technology where you can unlock your phone or to access any application that require high security. With ESP32-CAM, we can try to develop a simple application that use your face as ID. Since ESP32 board package already comes with CameraWebServer example code that cater for video stream and face recognition, let's try to modify a bit so that it can control a relay to ON and OFF.
Video
This video shows how to unlock a door magnetic lock through face recognition using ESP32 camera.
Hardware Preparation
This is the list of items used in the video.
The custom PCB is created using CNC on Snapmaker. Below is the list of components used in the PCB.
Schematic and PCB files for custom PCB.
[googleapps domain="docs" dir="viewer" query="srcid=1IoLKo5r_u1lUrQZrmGXbijwPmDM8DQpg&pid=explorer&efh=false&a=v&chrome=false&embedded=true" width="635" height="500" /]
If you have Snapmaker, you can download ? THIS FILES, and use it for CNC your PCB.
Sample Program
The program is edited directly from CameraWebServer example. Please refer to the video.
Thank You
References:
Thanks for reading this tutorial. If you have any technical inquiries, please post at Cytron Technical Forum.
"Please be reminded, this tutorial is prepared for you to try and learn.
You are encouraged to improve the code for a better application."
สินค้าที่เกี่ยวข้อง
PCB PS 4x6inch
Discontinued
UC00A (FTDI) USB to UART Converter
THB346.57 THB323.90
ESP32 Camera with USB Connectivity
THB490.27 THB458.20
1CH Active H/L 5V OptoCoupler Relay Module
ไม่สามารถใช้ได้
80mm Magnetic Door Lock
ไม่สามารถใช้ได้