Marking attendance using face recognition.
Because of the online education, students are missing their classes and not paying attention.. So I have made this automatic attendance marking application for maininting the decorum of classes.
- Images will be saved in the folder.And this model will diffrentiate between the real video and photographs.It will mark present only when the live video will match with the photo in the folder, and when it will detect photo it will show invalid.
- After the detection the name of the student,date and time will be recorded in xl file for records.
- This model differentiates between real live vdo and photographs which checks the liveliness. It will mark present only when it will detect live video and for the photos it will be invalid.
- face-recognition package is used which has more than 99% accuracy detects face and encodes them.
- A threshold (95%) is set. Faces above this similarity are recognized.
- Siamese network compares the live video with the all the photos in the people folder using the cosine similarity.
To run the project make sure to install the following dependencies installed on your system.
- OpenCV
- flask
- flask SQL Alchemy
- flask-lgoin
- Tensorflow
- Panda
- Keras
- Face-recogniton
- Clone the project.
- Install all the dependencies
pip install -r requirements.txt
- Save the photos in people folder with their names
- Reach to the directory of project folder
python app.py