Before diving into the code let s connect the solenoid lock with the raspberry pi.
Face recognition door lock system using raspberry pi code.
The purpose of this tutorial is show how to add facial recognition to raspberry pi projects.
In this proposed door access system by using face recognition the images are stored in a data base.
Raspberry pi electronic board is operated on battery power supply wireless internet connectivity by using usb modem it includes camera pir motion sensor and a door.
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 was part of the embedded system design course and uses face recognition to control a servo lock.
The image of your face will get stored in the database.
Face detection and data gathering.
Dlib is the modern toolkit that contains machine learning algorithms and tools for real world problems.
This system is powered by raspberry pi circuit.
To capture your face image place yourself in front of the pi camera and press pushbutton switch s1.
Raspberry pi opencv python face recognition lock introduction.
Before beginning the program for face recognition door lock system using raspberry pi let s install the required packages.
Circuit diagram of the face recognition system using raspberry pi.
Use the below command to install the dlib.
This design of a facial recognition door lock should not be implemented to protect and lock anything of value or a home.
Whenever the person comes in front of the door it recognizes the face and if it is registered then it unlocks the door if the.
Raspbian is a linux based.
Face images are captured through raspberry pi camera and stored in a database in raspberry pi.
Eigenface was used the feature extraction while principal.
4 1 raspberry pi raspberry pi rp is an arm based single the third generation raspberry pi 3 it has broadcom bcm2837 64bit arm cortex a53 quad core processor soc running at 1 2ghz and 1gb ram.
A very simple hack of holding a photo of a whitelisted user up to the camera will unlock the door.
In this tutorial you are going to learn how to build a facial recognition based door lock using a raspberry pi.
In this paper we proposed a face recognition security system using raspberry pi which can be connected to the smart home system.
The project will consist of three phases.