An alexa enabled door lock with face recognition and remote control.
Face recognition door lock system using arduino.
There are many identification systems but face recognition is now a days more preferred.
Block diagram of secured room access system controlling unit door lock door lock.
For locking we use the digitalmultiwrite method from library to write high value to d0 and low value to d3.
Finally esp32 cam face recognition lock is ready.
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.
2 turn on face detection and face recognition.
What is face recognition system.
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.
4 then esp32cam will take some sample pictures of the face.
Before diving into the code let s connect the solenoid lock with the raspberry pi.
When you run keylemon for the first time the face model wizard will show up and you l need to create your face model then procede and when you r finished the keylemon control center will show up there you can change your face model and under tab webcam you must uncheck stop using webcam after 60 seconds of inactivity and click apply step 3 is windows application task scheduler located in.
Raspberry pi receives this command and sends to arduino using serial port.
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.
Similarly for unlocking we ll write low value to d0 and high value to d3.
The project will consist of three phases.
No physical interaction.
Arduino control the lock accordingly.
So to overcome this drawback we designing a new system with face recognition.
In this way we can enroll multiple faces.
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.
5 at last a green box will appear around the face.
Like security purposes as of door unlocking attendance system face lock for mobile devices.
It s not that expensive to install implement.
In the existing system we are using password based door lock system which makes the user memorize password all the time.
3 click on enroll face.
In this tutorial you are going to learn how to build a facial recognition based door lock using a raspberry pi.
Face detection and data gathering.
Prepare your raspberry pi with latest raspbian operating system and get ready to do some programming.
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.
This will signal the arduino to lock the door.