Facial recognition technology can be an efficient and touch-free biometric technology for automating attendance in academic and organizational environments. The paper presents a comprehensive Facial Recognition Attendance System with Integrated Liveness Detection and Real-Time Reporting. The system is developed using Python and OpenCV library. The system utilizes a webcam for facial images, Haar Cascade for face detection, and LBPH for face recognition. The attendance data is stored in SQLite and displayed using a Flask-based web interface. The liveness detection component eliminates spoofing attacks by images or videos by detecting eye blinks and movements through frame differencing and motion analysis. The system follows a modular approach for data collection, model training, real-time face recognition along with liveness detection, and automatic attendance recording. Experiments were conducted on a wide range of users in different poses and lighting conditions. The facial recognition accuracy was 96.3%, liveness detection precision was 94.5%, and average face recognition time was 1.28 seconds. The system can run on normal desktop/laptop computers without a GPU and can be suitable for small and medium-scale organizations. The facial recognition-based attendance system is a cost- effective and efficient solution that can replace existing manual and RFID-based solutions. The system can record secure and touch-free automatic attendance data in real-time. The system can be further extended to use deep learning techniques and can be integrated with other tools and technologies.
Introduction
Traditional attendance systems—manual registers, RFID, QR codes, or contact-based biometrics—are either time-consuming, error-prone, or raise hygiene concerns. Manual and semi-automated methods are vulnerable to proxy attendance, lost or shared tokens, and lack real-time analytics. Contactless solutions, especially facial recognition, offer convenience and hygiene but are susceptible to spoofing without liveness detection.
The proposed system is a Facial Recognition Attendance System with Integrated Liveness Detection and Real-Time Reporting, implemented using Python, OpenCV, Flask, and SQLite. It uses webcams for face capture, Haar Cascade for detection, LBPH for recognition, and motion/eye-blink analysis for liveness verification. Attendance records are stored in SQLite and displayed via a Flask web interface, enabling real-time monitoring, reporting, and export. The system is lightweight, contactless, easy to deploy on standard hardware, and designed to scale for classrooms or office environments.
Conclusion
Facial Recognition Attendance System with Liveness De- tection and Real-Time Reporting provides a safe and efficient means of attendance tracking. It uses a facial recognition system with liveness detection, ensuring minimal errors and proxy attendance, and provides a seamless experience for users.
Results of experiments on the system indicate high recog- nition accuracy, effective spoof detection, and fast response times, making it a promising system for attendance tracking. Possible enhancements could include deep learning algo- rithms like FaceNet and ArcFace, liveness detection with texture and depth information, cloud deployment for a multi- site system, and a mobile app for remote attendance tracking and alerts.
References
[1] P. Viola and M. Jones, “Rapid object detection using a boosted cascade of simple features,” Proceedings of the IEEE Computer Society Confer- ence on Computer Vision and Pattern Recognition (CVPR), vol. 1, pp. I–511–I–518, 2001.
[2] M. Turk and A. Pentland, “Eigenfaces for recognition,” Journal of Cognitive Neuroscience, vol. 3, no. 1, pp. 71–86, 1991.
[3] T. Ahonen, A. Hadid, and M. Pietika¨inen, “Face description with local binary patterns: Application to face recognition,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 28, no. 12, pp. 2037– 2041, 2006.
[4] A. Patel and K. Shah, “Attendance management system using face recog- nition and OpenCV,” International Journal of Computer Applications, vol. 182, no. 40, pp. 25–30, 2018.
[5] J. Galbably and S. Marcel, “Face anti-spoofing: A holistic approach to presentation attack detection,” IEEE Transactions on Information Forensics and Security, vol. 10, no. 11, pp. 2438–2451, 2015.
[6] L. Li, X. Feng, and Z. Zhao, “Face liveness detection using convolutional neural networks,” IEEE Signal Processing Letters, vol. 26, no. 1, pp. 66–70, 2019.
[7] A. Singh, P. Kumar, and S. Chauhan, “Automated attendance system using Python and OpenCV,” International Journal of Advanced Research in Computer Science, vol. 9, no. 2, pp. 27–33, 2018.
[8] R. Rajeev and D. Kumar, “Cloud-integrated biometric attendance sys- tem using facial recognition,” Journal of Emerging Technologies and Innovative Research (JETIR), vol. 7, no. 6, pp. 102–108, 2020.
[9] S. Kaur and P. Sharma, “Web-based attendance dashboard using face recognition,” International Research Journal of Engineering and Tech- nology (IRJET), vol. 8, no. 4, pp. 2034–2039, 2021.
[10] S. Zafeiriou, C. Zhang, and Z. Zhang, “A survey on face detection in the wild: Past, present and future,” Computer Vision and Image Understanding, vol. 138, pp. 1–24, 2015.
[11] I. Goodfellow, Y. Bengio, and A. Courville, Deep Learning. MIT Press, 2016.
[12] D. Yi, Z. Lei, and S. Z. Li, “Deep metric learning for face verification,” IEEE Conference on Computer Vision and Pattern Recognition (CVPR) Workshops, pp. 41–48, 2014.
[13] F. Schroff, D. Kalenichenko, and J. Philbin, “FaceNet: A unified embedding for face recognition and clustering,” Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 815–823, 2015.
[14] S. Mishra and A. Sharma, “Performance evaluation of liveness detec- tion techniques for secure face recognition,” International Journal of Engineering Trends and Technology (IJETT), vol. 68, no. 9, pp. 45–52, 2020.
[15] K. Simonyan and A. Zisserman, “Very deep convolutional networks for large-scale image recognition,” arXiv preprint arXiv:1409.1556, 2015.
[16] S. Mehta and R. Gupta, “Smart attendance system using machine learn- ing and IoT integration,” International Journal of Innovative Research in Computer and Communication Engineering, vol. 10, no. 5, pp. 2081– 2088, 2022.
[17] M. George and L. Thomas, “Comparative study of face recognition al- gorithms in real-time environments,” International Journal of Computer Science and Information Technologies, vol. 12, no. 2, pp. 101–107, 2023.