Computer Vision-Driven Classroom Analytics: Real-Time Attendance Verification and Student Focus Monitoring for Data-Informed Teaching Decisions

Authors

  • Nurhikma Universitas Negeri Makassar
  • Aril Universitas Negeri Makassar
  • Mushaf Universitas Negeri Makassar
  • Muh. Yusril Anam Necmettin Erbakan University

Keywords:

Automatic Student Attendance, Computer Vision, Face Recognition (LBPH), Learning Analytics Dashboard, Real-Time Focus Monitoring

Abstract

Purpose – Student attendance and learning activity monitoring are essential for ensuring instructional quality and academic accountability. However, conventional attendance methods remain inefficient, error-prone, and vulnerable to manipulation, while existing Computer Vision-based solutions often require high computational resources and focus on attendance or engagement separately. This study aims to develop an integrated, lightweight Computer Vision-based system for automatic student attendance recording and real-time focus monitoring suitable for resource-limited educational environments.
Methods – This study employs a classical Computer Vision approach integrating Haar Cascade for face detection, Local Binary Patterns Histogram (LBPH) for face recognition, and rule-based eye detection for focus classification. The system automatically records attendance, tracks focus duration, and generates real-time digital reports. System performance was evaluated under controlled classroom conditions using accuracy, precision, recall, and F1-score.
Findings – Experimental results demonstrate that the proposed system achieves high recognition reliability, with face detection and recognition accuracy reaching 100% in small-scale testing. The system operates efficiently with low latency and minimal computational requirements, while successfully monitoring multiple students simultaneously and generating structured attendance and focus duration reports in real time.
Research limitations – The evaluation was conducted on a limited number of students under controlled conditions, which may restrict generalisability. Further testing in larger, more diverse classroom settings is required to validate system robustness.
Originality – This study presents a unified and resource-efficient solution that integrates attendance validation and real-time focus monitoring within a single platform, offering practical value for schools seeking scalable and affordable learning analytics systems.

References

Ahmad, A. H. & others. (2021). Real time face recognition of video surveillance system using haar cascade classifier. Indonesian Journal of Electrical Engineering and Computer Science, 21(3), 1389–1399. https://doi.org/10.11591/ijeecs.v21.i3.pp1389-1399

Alruwais, N., & Zakariah, M. (2023). Student-Engagement Detection in Classroom Using Machine Learning Algorithm. Electronics, 12(3), 731. https://doi.org/10.3390/electronics12030731

Arthi, R., Sabeena, J., & Shanthi, K. (2022). Access Control in Offices Using Face Recognition. IJSART, 8(11).

Boe, C. H., Ng, K. W., Haw, S. C., Naveen, P., & Anaam, E. A. (2024). An Automated Face Detection and Recognition for Class Attendance. International Journal of Informatics and Visualization, 8(3), 1146–1153. https://doi.org/10.62527/joiv.8.3.2967

Dharmaraj, K. B., Dhanushree, C. N., Revanth, H. V., Shashank, N., & Tejaswini, P. M. (2025). Real-Time Student Face Recognition Attendance System Using AI. IARJSET, 12(5), 1067–1072. https://doi.org/10.17148/IARJSET.2025.125183

J, S., Joshi, J., M, P., & B, U. (2022). Face Recognition Based Attendance System Using OpenCV Python. Advances in Intelligent Systems and Technology, 52–56. https://doi.org/10.53759/aist/978-9914-9946-1-2_10

Jadhav, R., Vele, K., Pujari, A., Raikar, J., Uttekar, R., & Waghmare, V. (2025). AI-Powered Facial Recognition Attendance System Using Deep Learning and Computer Vision. International Journal of Research in Science and Innovation, 12, 3902–3912. https://doi.org/10.51244/IJRSI

Kuliya, M., & Bala, Z. (2024). Real-time Monitoring of Students’ Attention in Classroom using Transfer Learning. International Journal of Computer Science and Mathematical Theory, 10(2), 170–178. https://doi.org/10.56201/ijcsmt.v10.no2.2024.pg170.178

Liu, Q., Jiang, X., & Jiang, R. (2025). Classroom Behavior Recognition Using Computer Vision: A Systematic Review. Sensors, 25(2), 1–22. https://doi.org/10.3390/s25020373

Lu, W., Yang, Y., Song, R., Chen, Y., Wang, T., & Bian, C. (2025). A Video Dataset for Classroom Group Engagement Recognition. Scientific Data, 12(1), 1–16. https://doi.org/10.1038/s41597-025-04987-w

Lv, M. & others. (2025). Improving UI responsiveness in Android by restructured rendering. Journal of Systems Architecture, 168, 103580. https://doi.org/10.1016/j.sysarc.2025.103580

Marketing & Communications. (2025). Powering Learning: Indonesia EdTech Market Rise.

N. A S. (2024). IoT Based Smart Attendance Management System. International Journal of Scientific Research in Engineering and Management, 8(3), 1–11. https://doi.org/10.55041/ijsrem29283

Possaghi, I. & others. (2025). Integrating multi-modal learning analytics dashboard in K-12 education. Smart Learning Environments, 12(1). https://doi.org/10.1186/s40561-025-00410-4

Ravipati, S., Modem, L., Yellinedi, S., Namburi, T. R., & Sk, S. S. (2025). Enhanced Attendance Management of Face Recognition Using Machine Learning. ITM Web of Conferences, 74, 01012. https://doi.org/10.1051/itmconf/20257401012

Santoni, M. M., Basaruddin, T., Junus, K., & Lawanto, O. (2024). Automatic Detection of Students’ Engagement During Online Learning. IEEE Access, 12, 96063–96073. https://doi.org/10.1109/ACCESS.2024.3425820

Shiri, F. M., Ahmadi, E., Rezaee, M., & Perumal, T. (2024). Detection of Student Engagement in E-Learning Environments Using EfficientNetV2-L. Journal of Artificial Intelligence. https://doi.org/10.32604/jai.2024.048911

Susnjak, T., Ramaswami, G. S., & Mathrani, A. (2022). Learning analytics dashboard: A tool for providing actionable insights to learners. International Journal of Educational Technology in Higher Education. https://doi.org/10.1186/s41239-021-00313-7

T. Team. (2025). Indonesia Education System: Progress and Challenges in 2024.

Trabelsi, Z., Alnajjar, F., Parambil, M. M. A., Gochoo, M., & Ali, L. (2023). Real-Time Attention Monitoring System for Classroom. Big Data and Cognitive Computing, 7(1), 1–17. https://doi.org/10.3390/bdcc7010048

Viswanathan, J., E, K., S, N., & S, V. (2024). Smart Attendance System using Face Recognition. ICST Transactions on Scalable Information Systems, 11(5), 1–6. https://doi.org/10.4108/eetsis.5203

Downloads

Published

2026-01-06