- CMake, Dlib
- Python 3.9
Install Microsoft C++ build tools from here - https://visualstudio.microsoft.com/downloads/?q=build+tools
sudo apt install cmake
The first thing to do is to clone the repository:
$ git clone https://github.com/shreyan-haldankar/FaceRec.git
$ cd FaceRec
Create a virtual environment
python -m venv env
Activate the virtual environment
.\env\Scripts\activate
Install dependencies using pip:
pip install -r requirements.txt
Once pip
has finished installing the dependencies:
Run the mainwindow.py
file
In order to test the Face Recognition System, insert a photo of a person in the Images Attendance Folder, and then run the mainwindow.py
file and scan the face of the person and Clock In. Then Open the Attendance.csv file to check whether the person has Clocked In.
- Adam Geitgey : How Face Recognition works