Vol 2 No 1 (March 2026)
Articles

An Intelligent Student Attendance System Based on Facial Image Recognition Using YOLOv5: A Case Study at Politeknik Negeri Lhokseumawe

Heri Maulana
Jurusan Teknologi Informasi dan Komputer, Politeknik Negeri lhokseumawe
Azhar Azhar
Jurusan Teknologi Informasi dan Komputer, Politeknik Negeri lhokseumawe
Rahmad Hidayat
Jurusan Teknologi Informasi dan Komputer, Politeknik Negeri lhokseumawe
Eni Mawardhaningrum
Sekolah Pascasarjana, Universitas Muhammadiyah Yogyakarta, Indonesia

Published 24-03-2026

Keywords

  • attendance,
  • student,
  • recognition,
  • face,
  • image,
  • YOLO5s
  • ...More
    Less

Abstract

You Only Look Once (YOLO) is an effective deep learning method for real-time object detection. This method is applied to build an accurate, fast facial recognition model, with a case study on an attendance system based on facial images at the Lhokseumawe State Polytechnic. The main objective is to implement and evaluate the YOLOv5s model's performance on the attendance system using facial images with high accuracy. The research process includes collecting facial image datasets from 40 subjects with various viewing angles to train the YOLOv5s model. This model is specifically configured to detect one class of objects, namely faces, and then integrated into the system to function as the main face detector. Model performance is evaluated quantitatively using a confusion matrix to measure key metrics such as accuracy, precision, recall, and F1 score. The evaluation results show that the developed YOLOv5s model has excellent performance. This model achieved 90% accuracy, with a precision and recall of 92%. The balanced F1-score value (92%) proves that the YOLOv5s method has a high level of accuracy for detecting faces. The high-performance metrics confirm that this method is the right solution for building an attendance system based on accurate facial images.

Downloads

Download data is not yet available.

References

  1. [1] A. Nwabuwe, B. Sanghera, T. Alade, and F. Olajide, “Fraud Mitigation in Attendance Monitoring Systems using Dynamic QR Code, Geofencing and IMEI Technologies,” Int. J. Adv. Comput. Sci. Appl., vol. 14, no. 4, pp. 938–945, 2023, doi: 10.14569/IJACSA.2023.01404104.
  2. [2] M. S. Mohammed and K. A. Zidan, “Enhancing attendance tracking using animated QR codes: a case study,” Indones. J. Electr. Eng. Comput. Sci., vol. 31, no. 3, pp. 1716–1723, Sep. 2023, doi: 10.11591/ijeecs.v31.i3.pp1716-1723.
  3. [3] S. Joshi, S. Shinde, P. Shinde, N. Sagar, and S. Rathod, “Facial Recognition Attendance System using Machine Learning and Deep Learning,” vol. 12, no. 04, pp. 152–157, 2023, [Online]. Available: www.ijert.org
  4. [4] A. N and K. Anusudha, “Real time face recognition system based on YOLO and InsightFace,” Multimed. Tools Appl., vol. 83, no. 11, pp. 31893–31910, Sep. 2024, doi: 10.1007/s11042-023-16831-7.
  5. [5] P. Viola and M. Jones, “Rapid object detection using a boosted cascade of simple features,” in Proceedings of the 2001 IEEE Computer Society Conference on Computer Vision and Pattern Recognition. CVPR 2001, 2001, pp. I–I. doi: 10.1109/CVPR.2001.990517.
  6. [6] S. Ren, K. He, R. Girshick, and J. Sun, “Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks,” IEEE Trans. Pattern Anal. Mach. Intell., vol. 39, no. 6, pp. 1137–1149, 2017, doi: 10.1109/TPAMI.2016.2577031.
  7. [7] J. Redmon, S. Divvala, R. Girshick, and A. Farhadi, “You only look once: Unified, real-time object detection,” Proc. IEEE Comput. Soc. Conf. Comput. Vis. Pattern Recognit., vol. 2016-Decem, pp. 779–788, 2016, doi: 10.1109/CVPR.2016.91.
  8. [8] J. Terven, D.-M. Córdova-Esparza, and J.-A. Romero-González, “A Comprehensive Review of YOLO Architectures in Computer Vision: From YOLOv1 to YOLOv8 and YOLO-NAS,” 2023. doi: 10.3390/make5040083.
  9. [9] D. Sari and A. H. Mirza, “The Detection Of Face Recognition As Employee Attendance Presence Using The Yolo Algorithm (You Only Look Once),” J. Darma Agung, vol. 30, p. 41, Nov. 2022, doi: 10.46930/ojsuda.v30i3.2187.
  10. [10] M.A Thalor and Omkar S. Gaikwad, “Facial Recognition Attendance Monitoring System using Deep Learning Techniques,” Int. J. Integr. Sci. Technol., vol. 2, no. 1, pp. 45–52, 2024, doi: 10.59890/ijist.v2i1.1290.
  11. [11] O. Faruque, F. Siddiqui, and S. Noor, “Face Recognition-Based Mass Attendance Using YOLOv5 and ArcFace,” 2023, pp. 496–510. doi: 10.1007/978-3-031-34619-4_39.
  12. [12] G. Jocher et al., “ultralytics/yolov5: v7.0 - YOLOv5 SOTA Realtime Instance Segmentation,” Nov. 2022, Zenodo. doi: 10.5281/zenodo.7347926.
  13. [13] Mardiana, M. A. Muhammad, and Y. Mulyani, “Library Attendance System using YOLOv5 Faces Recognition,” in 2021 International Conference on Converging Technology in Electrical and Information Engineering (ICCTEIE), 2021, pp. 68–72. doi: 10.1109/ICCTEIE54047.2021.9650628.
  14. [14] I. N. G. A. Astawa, I. K. G. D. Putra, M. Sudarma, and R. S. Hartati, “KomNET: Face Image Dataset from Various Media for Face Recognition,” Data Br., vol. 31, p. 105677, 2020, doi: https://doi.org/10.1016/j.dib.2020.105677.
  15. [15] F. Indaryanto, A. Nugroho, and A. F. Suni, “Aplikasi Penghitung Jarak dan Jumlah Orang Berbasis YOLO Sebagai Protokol Kesehatan Covid-19,” Edu Komputika J., vol. 8, no. 1, pp. 31–38, 2021, doi: 10.15294/edukomputika.v8i1.47837.
  16. [16] F. Rachmawati and D. Widhyaestoeti, “Deteksi Jumlah Kendaraan di Jalur SSA Kota Bogor Menggunakan Algoritma Deep Learning YOLO,” Pros. LPPM UIKA Bogor, pp. 360–370, 2020.
  17. [17] H. Li and X. Zhu, “Face recognition technology research and implementation based on mobile phone system,” in 2016 12th International Conference on Natural Computation, Fuzzy Systems and Knowledge Discovery, ICNC-FSKD 2016, 2016, pp. 972–976. doi: 10.1109/FSKD.2016.7603310.