Raspberry pi receives this command and sends to arduino using serial port.
Face recognition door lock system using arduino.
For locking we use the digitalmultiwrite method from library to write high value to d0 and low value to d3.
The images thus captured is processed by the python facial recognition software which then detects any known faces in the picture and unlocks the door for the people whose faces are identified successfully.
What is face recognition system.
Before diving into the code let s connect the solenoid lock with the raspberry pi.
In this tutorial you are going to learn how to build a facial recognition based door lock using a raspberry pi.
We ll discuss the arduino code and circuit design later in this.
Similarly for unlocking we ll write low value to d0 and high value to d3.
The esp32 cam can host a video streaming web server over wi fi with very good fps frames per second which we can access with any device from our network.
3 click on enroll face.
4 then esp32cam will take some sample pictures of the face.
An alexa enabled door lock with face recognition and remote control.
It s not that expensive to install implement.
Prepare your raspberry pi with latest raspbian operating system and get ready to do some programming.
There are many identification systems but face recognition is now a days more preferred.
Camera installed at the main door is used to click 5 consecutive photos of the person standing in front of the door as he she presses a button present on the main door.
No physical interaction.
5 at last a green box will appear around the face.
This will signal the arduino to lock the door.
And if it matches the program passes the control over to the microcontroller here the microcontroller used is arduino which in turn opens the door.
In the existing system we are using password based door lock system which makes the user memorize password all the time.
The project will consist of three phases.
In this project i will show you how you can create a facial recognition system by building an ip surveillance cctv with the esp32 cam module.
Finally esp32 cam face recognition lock is ready.
So to overcome this drawback we designing a new system with face recognition.
Face detection and data gathering.
In this way we can enroll multiple faces.
Block diagram of secured room access system controlling unit door lock door lock.
Like security purposes as of door unlocking attendance system face lock for mobile devices.
Finally it analyses the detected human face and compare it with images from the database which is achieved by using some features like the distance between the eyes etc.
Arduino control the lock accordingly.