This project was part of the embedded system design course and uses face recognition to control a servo lock.
Face recognition door lock system using raspberry pi github.
What is face recognition.
The purpose of this tutorial is show how to add facial recognition to raspberry pi projects.
Solenoid lock requires 9 to 12v and raspberry pi can provide only 5v.
The gpio pins of the raspberry pi can give an output of 3 3v but the solenoid lock requires 7 12v to operate.
A very simple hack of holding a photo of a whitelisted user up to the camera will unlock the door.
Screen can be connected to raspberry pi via a hdmi cable don t forget connect power to your screen and pi.
Thanks for adam geitgey and his face recognition project we can use the world s simplest face recognition library on raspberry pi.
It can be unlocked over a wifi connection using a smartphone and a custom app.
Raspberry pi and solenoid lock are connected through the relay module.
Due to this a 12v adapter is used to power the solenoid lock.
The face recognition has been done using the eigenfaces algorithm principle component analysis or pca and implemented using the python api of opencv.
This project utilizes a raspberry pi basic webcam and an internet connection to create a door that unlocks itself via facial recognition.
Circuit diagram for face recognition door lock using raspberry pi is given below.
If the visitor at the door is recognized the door will unlock.
Face recognition door lock with aws rekognition raspberry pi3 it works with rpi3 using the camera module.
The raspberry pi is slower than a modern laptop or desktop but is still a complete linux computer and can provide all the expected abilities that implies at a low power consumption level.
The following steps will show you how to setup face recognition on pi.
Because of this we will need to use an external power source and relay to operate the lock.
Connect the vcc and gnd of the relay module to 5v and gnd of raspberry pi.
Raspberry pi opencv python face recognition lock introduction.
Face recognition facial recognition is a category of biometric software which identifies people by their faces.
Door lock system using facial recognition on the raspberry pi hunterjohnson facedoor.