Simple project about face recognition. Based on college project DS_2_2018 . Aiming to use face recognition to control access at college's restaurant. The system was embedded in a Raspberry pi 3(SoC) and tested in different environments. There are a local database base on sqlite3, A server in Apache to editing the database while face recognition system are running and relay to send signal to open the door - control by Raspberry Pi GPIO.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
OpenCv 3.4.4
Qt version: 4.8.7
SIP version: 4.19.7
sqlite3 2, 6, 0
Numpy
- Create an empty Folder named "dataset" in the same directory where the python scripts are
- Create an empty folder called "trainer" In same directory
-
Run on terminal "python3 exe.py".
-
Type "3" and press enter "3 -> Edit database".
-
Type "1 -> Table create" and a sqlite3 table will be create.
-
Make a new register typing "1".
-
Write your name.
-
Write your id number (max 8 numbers)
-
Look to your camera and wait(Photos will be save in "dataset").
-
OpenCV API will training the photos in the file "trainer"
-
Than you can start "2 -> Face Recognition".
-
In "3 -> Edit database".
-
Adding Credits. Just type your id number and how much money to add.
- João Vitor Rodrigues Baptista - Initial work - helpthx
This project is licensed under the MIT License - see the LICENSE.md file for details
- Based on original code by Anirban Kar: Face-Recognition