Skip to content

christie-T/face-recognition-RFID-door-lock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raspberry Pi Door Lock Project

🛠 set-up

1. Install Raspbian onto Raspberry Pi 3

https://www.raspberrypi.com/software/

2. Open Terminal and run

sudo apt-get update && sudo apt-get upgrade -y
sudo apt-get install git cmake

3. Face Recognition Library:

sudo pip3 install face_recognition

This might take a while. PLEASE increase swapfile memory (I used 1024mb) for installation, or the installations gonna brick. Guide here:

https://akashrajpurohit.com/blog/increase-swap-memory-on-raspberry-pi/#:~:text=Swap%20file%20is%20a%20file,with%20limited%20amount%20of%20RAM.

4. Install other dependencies (for servo, RFID)

pip install -r 'requirements.txt'

5. Extra Libraries

sudo pip3 install imutils pypickle
raspi-config

Then, enable the camera in config.

💻 Running the program

Put images of the face you want recognized in 'faces' directory

Then, run:

python3 encode_faces.py
python3 exe.py

Tap authenticated RFID, put the right face in frame, yay it works yay the door opened

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages