By this project we can do Smartdoor Lock System using Fingerprint and Camera to increase the security of home, Office and etc. In this project we will check the fingerprint using sensor and face using webcam if match then Unlock otherwise not.
Hardware requirements:
- Arduino Uno.
- Fingerprint Sensor.
- Solenoid lock.
- Relay.
- Wires as per your requirements.
- 12v Adapter.
Software requirements:
- Arduino IDE.
- Arduino Library - Adafruit-Fingerprint-Sensor-Library (uploaded into this folder)
- Pycharm or any prefered Python IDE.
- Python Libraries : face_recognition, cv2, serial, numpy
As mentioned we can do Door lock/unlock using 2 ways :
- Using Fingerprint
- Using Face Recognition
After downloading this project follow the following steps :
-
Fingerprint
- First make connection like shown in the below figure
- Now we need to enrol the figerprint in fingerprint sensor so using enroll.ino file upload the code into arduino and run.
- After enrolling the fingerprint use fingerprint_compare program and upload it into arduino uno and upload.
- Now you can put the finger on the sensor and test it,
- First make connection like shown in the below figure
-
Face Recognition
- Same connection but without Fingerprint Sensor.
- In this part first you need an image of your face and put it in the same folder and change the path in the image variable.
- Now to check that Face Recognition python file is properly working or not, Comment 6,37 lines and Run and check face recognition is properly working or not.
- After checking this, upload serial_python file into arduino uno.
- Remove comment in python file and run python file and Run the Python Code.
Feel free to open an issue. We are glad to help you. And is you have solution for that issue I will allocate to you. ❤️
If you have any more idea related to this project then please share your idea on rushitajudiya2907@gmail.com. If time permits I will surely do some work on your project.