An End-to-End Real-Time Face Identification and Attendance System using Convolutional Neural Networks
(https://ieeexplore.ieee.org/document/9029001)
An end-to-end face identification and attendance approach using Convolutional Neural Networks (CNN), which processes the CCTV footage or a video of the class and mark the attendance of the entire class simultaneously. One of the main advantages of the proposed solution is its robustness against usual challenges like occlusion (partially visible/covered faces), orientation, alignment and luminescence of the classroom.
- Tensorflow 1.14
- Numpy
- OpenCV
- MTCNN
- Sklearn
- xlsxwriter, xlrd
- scipy
- pickle
- Install the required libraries. (Conda environment preferred).
- Download the pre-trained model from [link] and copy to the main directory.
- Make sure to have the below mentioned directory structure (you've to manually create two folders named "attendance" and "output" in the main directory | refer to the "Main" directory structure).
- To verify if everything is installed correctly, run 'user_interface.py'.
- Run 'user_interface.py'
- Click on the 'Create' button.
- Select 'webcam' if you wish to create live dataset. (you can leave all other fileds empty)
- Click on the 'Continue' button to start streaming webcam feed.
- Press 's' to save the face images. Take as many images as you can take. (approx. 80-100 preferred)
- Press 'q' to exit.
- Likewise create other datasets.
- Run 'user_interface.py'
- Click on the 'Train' button.
- Training may take several minutes (depending upon your system configuration).
- Once training is completed, a 'classifier.pkl' file will be generated.
- Run 'user_interface.py'
- Click on the 'Run' button.
- Select 'Webcam' fom the list and leave all fields blank.
- Click on 'Mark Attendance' button.
- Attendance sheet will be generated automatically with current date/time.
- 'Main' directory:
The file for data augmentation will be uploaded soon.
To know more about the working of the software, refer to our paper.
If you find this paper/code userful, consider citing
@INPROCEEDINGS{9029001,
author={Rai, Aashish and Karnani, Rashmi and Chudasama, Vishal and Upla, Kishor},
booktitle={2019 IEEE 16th India Council International Conference (INDICON)},
title={An End-to-End Real-Time Face Identification and Attendance System using Convolutional Neural Networks},
year={2019}, volume={}, number={}, pages={1-4},
doi={10.1109/INDICON47234.2019.9029001}}
The code is available under MIT License. Please read the license terms available at [Link]