ESP32 CAM Face Detection Door Lock System

Viral Science - The home of Creativity
23 May 202008:12

Summary

TLDRThis video tutorial demonstrates how to create a face detection automatic door lock system using an ESP 32 cam board. The presenter first enrolls their face and tests the system with their parents' faces, successfully unlocking the door with their own. The video guides viewers through the necessary components, programming process, and setup. It also covers how to modify the camera web server example for this project, and how to capture and enroll faces for recognition. The system activates a relay module and opens a solenoid lock for 5 seconds upon detecting an enrolled face, showcasing a practical application of face recognition technology.

Takeaways

  • 😀 The video is about creating a face detection automatic door lock system using an ESP 32 CAM board.
  • 🔒 The presenter demonstrates the system by enrolling their own face and testing it with their parents' faces.
  • 👨‍👩‍👧‍👦 The lock did not open with the parents' faces, indicating the system's ability to differentiate between enrolled and non-enrolled faces.
  • 🛠️ The project requires components such as an ESP 32 CAM, UART TTL programmer, relay module, solenoid lock, LEDs, power supply, voltage regulator, capacitor, breadboard, and wires.
  • 🔌 The video suggests watching a previous ESP 32 CAM beginners video for helpful context on making the project.
  • 💻 Programming the ESP 32 board involves making specific connections and using a computer, with the option to switch power sources if errors occur.
  • 📝 The code for the project is based on a modified camera web server example, available via a link in the description.
  • 📱 During setup, Wi-Fi credentials are entered, and the board is selected from the tools tab for code upload.
  • 🔄 After uploading, a jumper cap is removed, and the board is reset to obtain an IP address for further setup.
  • 🖼️ The system includes a web interface accessed via the board's IP address, where face detection and recognition settings can be adjusted.
  • 📸 The 'enroll face' feature captures images of a face for the system to recognize and potentially unlock the door.
  • 🔓 The lock opens for 5 seconds upon recognizing an enrolled face, and multiple faces can be enrolled for access.

Q & A

  • What is the main topic of the video?

    -The main topic of the video is how to make a face detection automatic door lock system using an ESP 32 CAM board.

  • What is the purpose of the face detection system in the project?

    -The purpose of the face detection system is to automatically unlock a door when it recognizes an enrolled face.

  • What components are needed for this project according to the video?

    -The components needed include an ESP 32 CAM board, a UART TTL programmer, a relay module, a solenoid lock, LEDs, a 12-volt power supply or battery, a 5V regulator, a 100uF 16V capacitor, a breadboard, and some wires.

  • Why is a 5V regulator used in the project?

    -A 5V regulator is used to provide the necessary 5-volt power supply for the ESP 32 CAM board and the relay module, as they both operate on 5 volts.

  • What does the video suggest to do if you encounter brownout errors during programming?

    -If you encounter brownout errors during programming, the video suggests switching the power source to 5 volts.

  • How can viewers access the code for the project?

    -Viewers can access the code for the project through a link provided in the video description.

  • What example did the creator modify for the face detection project?

    -The creator modified the 'camera web server' example for the face detection project.

  • What information is required to be entered during the programming of the ESP 32 board?

    -During the programming, you need to enter the Wi-Fi SSID and Wi-Fi password, and select the appropriate board and other options from the tools tab.

  • What happens when a recognized face is detected by the system?

    -When a recognized face is detected, the system turns on the relay module, which in turn activates the solenoid lock for 5 seconds.

  • How can multiple faces be enrolled in the system?

    -The video suggests that multiple faces can be enrolled by repeating the 'enroll face' process for each individual face you want the system to recognize.

  • What is the feedback mechanism provided for the viewers of the video?

    -The feedback mechanism provided is the 'thumbs up' button for liking the video, and subscribing to the channel and pressing the Bell icon for notifications on new videos.

Outlines

plate

This section is available to paid users only. Please upgrade to access this part.

Upgrade Now

Mindmap

plate

This section is available to paid users only. Please upgrade to access this part.

Upgrade Now

Keywords

plate

This section is available to paid users only. Please upgrade to access this part.

Upgrade Now

Highlights

plate

This section is available to paid users only. Please upgrade to access this part.

Upgrade Now

Transcripts

plate

This section is available to paid users only. Please upgrade to access this part.

Upgrade Now
Rate This

5.0 / 5 (0 votes)

Related Tags
ESP32 CAMFace DetectionDIY ProjectDoor LockHome AutomationElectronicsSecurity SystemIoT DeviceTutorial VideoTech Hacks