Implementasi YOLOv8 untuk Absensi Siswa Berbasis Deteksi Wajah Menggunakan Webcam

Indonesia

Authors

  • Asri Tumanggor Universitar Negeri Medan
  • Hermawan Syahputra Universitas Negeri Medan

Keywords:

Deteksi Wajah, Deep Learning, Computer Vision, Sistem Absensi Berbasis Web, Deteksi Objek, webcam

Abstract

Abstrak. Sistem absensi manual di sekolah memiliki berbagai keterbatasan dalam hal efisiensi dan kerentanan terhadap kesalahan pencatatan maupun manipulasi data. Penelitian ini bertujuan mengimplementasikan algoritma YOLOv8 pada sistem absensi siswa berbasis deteksi wajah menggunakan webcam, serta menguji kinerja sistem tersebut dalam memproses dan mencatat kehadiran siswa secara real-time. Studi kasus dilakukan di SMA Swasta Assisi Siantar dengan populasi seluruh siswa dan sampel sebanyak 105 siswa. Metode penelitian bersifat eksperimen kuantitatif yang meliputi tahapan akuisisi citra wajah, anotasi, pra-pemrosesan, dan pelatihan model YOLOv8 dengan dua skenario, yaitu 50 dan 75 epoch. Hasil penelitian menunjukkan bahwa model dengan 75 epoch memberikan performa terbaik dengan mAP50 sebesar 0,9156, precision 0,9012, recall 0,8897, dan F1 Score 0,8954, lebih unggul dibandingkan model 50 epoch. Algoritma YOLOv8 berhasil diimplementasikan dan diintegrasikan ke dalam sistem absensi berbasis website, mampu mendeteksi wajah secara real-time melalui webcam dan mencocokkannya dengan data wajah pada basis data sebagai dasar pencatatan kehadiran otomatis. Pengujian terhadap seluruh 105 siswa menunjukkan tingkat keberhasilan pengenalan 100% dengan waktu pengenalan 1,7 hingga 2,0 detik pada model terbaik. Kinerja sistem dinilai fungsional dan responsif dalam menjalankan pra-pemrosesan secara end-to-end, mendeteksi wajah dengan tingkat keyakinan (confidence) yang memadai (mencapai 73,1%), serta secara otomatis mencatat kehadiran siswa kelas X dan XI ke dalam basis data beserta waktu kehadirannya tanpa kendala.

Kata Kunci: Absensi; Pengenalan Wajah; YOLOv8; Real-time; Webcam.

 

Abstract. Manual attendance systems in schools have various limitations in terms of efficiency and vulnerability to recording errors and data manipulation. This study aims to implement the YOLOv8 algorithm in a webcam-based, face-detection student attendance system and to evaluate its performance in processing and recording student attendance in real time. The case study was conducted at SMA Swasta Assisi Siantar, with the entire student population and a sample of 105 students. The research applies a quantitative experimental method covering face image acquisition, annotation, preprocessing, and YOLOv8 model training under two scenarios, namely 50 and 75 epochs. The results show that the 75-epoch model achieved the best performance, with an mAP50 of 0.9156, precision of 0.9012, recall of 0.8897, and an F1 score of 0.8954, outperforming the 50-epoch model. The YOLOv8 algorithm was successfully implemented and integrated into a website-based attendance system, capable of detecting faces in real time through a webcam and matching them against stored facial data as the basis for automatic attendance recording. Testing on all 105 students showed a 100% recognition success rate, with recognition times of 1.7 to 2.0 seconds for the best model. The system's performance is considered functional and responsive in executing end-to-end preprocessing, detecting faces with adequate confidence (reaching 73.1%), and automatically recording the attendance of grade X and XI students into the database along with their attendance time without any issues.

Keywords: Attendance; Face Recognition; YOLOv8; Real-time; Webcam.

Downloads

Download data is not yet available.

References

D. Desmira, "Pemanfaatan Sensor Sidik Untuk Absensi Siswa SMKN 1 Pulo-Ampel," PROSISKO: Jurnal Pengembangan Riset dan Observasi Sistem Komputer, vol. 9, no. 2, pp. 25–32, 2022.

A. Sumarudin, W. P. P, A. Suheryadi, K. Maulana, and N. Ibrahim, "Penerapan Sistem Absensi Sekolah Menggunakan Fingerprint," Jurnal Teknik Informatika, vol. 15, no. 3, pp. 179–188, 2020.

F. Firman, R. D. Pratiwi, and I. A. Ramadhani, "Sistem Informasi Absensi Siswa Berbasis Web di SMA Negeri 7 Kabupaten Sorong Papua Barat Daya," Jurnal Petisi (Pendidikan Teknologi Informasi), vol. 6, no. 1, pp. 33–40, 2025.

S. A. Negara, J. Tambotoh, and A. R. Tanaamah, "Perancangan Sistem Absensi Peserta Didik Berbasis Website di SMA Negeri 1 Ambarawa," Jurnal JTIK (Jurnal Teknologi Informasi dan Komunikasi), vol. 8, no. 3, pp. 651–660, 2024.

A. E. Widjaja, N. J. Harjono, Hery, A. R. Mitra, and C. A. Haryani, "Automated Class Attendance Management System using Face Recognition: an Application of Viola-Jones Method," Journal of Applied Data Sciences, vol. 4, no. 4, pp. 431–440, 2023.

S. Salman and H. Ramdan, "Student Attendance Based on Face Recognition Using the Convolutional Neural Network Method," Jurnal Pilar Nusa Mandiri, vol. 21, no. 1, pp. 117–125, 2025.

S. A. Feroze, S. ur R. Awan, and S. Z. Ali, "The Facial Recognition Technology in Academic Attendance: A Comparative Study for Real-Time Management," International Journal of Technology, Innovation and Management (IJTIM), vol. 4, no. 1, pp. 1–19, 2024.

G. Fairuz Mumtaz, J. Zeniarja, A. Luthfiarta, and A. N. Imam Muttaqin, "Optimizing Face Recognition and Emotion Detection in Student Identification Using FaceNet and YOLOv8 Models," Inform: Jurnal Ilmiah Bidang Teknologi Informasi dan Komunikasi, vol. 10, no. 1, pp. 34–44, 2025.

B. W. Nurlita, S. Winarno, A. Nugraha, A. Najiib, I. Muttaqin, Y. Zarifa, P. M. Salsabila, and G. Fairuz Mumtaz, "Perbandingan Kinerja ArcFace dan Dlib dalam Pengenalan Wajah dengan Deteksi Menggunakan YOLOv8," Jurnal Inovtek Polbeng, vol. 9, no. 2, 2024.

S. P. D. Prayudha and A. D. Putro, "Sistem Absensi Guru Berbasis Pengenalan Wajah Menggunakan Algoritma YOLOv8," Jurikom (Jurnal Riset Komputer), vol. 12, no. 2, pp. 118–128, 2025.

E. W. Lestari and B. Abdullah, "Rancang Bangun Presensi Automatis Pendeteksi Wajah Menggunakan Webcam Berbasis IoT," vol. 13, no. 3, pp. 338–349, 2024.

S. A. Siantar, Profil Sekolah SMA Swasta Assisi Siantar, 2023.

Downloads

Published

2026-11-16

How to Cite

Tumanggor, A., & Syahputra, H. . (2026). Implementasi YOLOv8 untuk Absensi Siswa Berbasis Deteksi Wajah Menggunakan Webcam: Indonesia. JUKI : Jurnal Komputer Dan Informatika, 8(2), 418–430. Retrieved from https://mail.ioinformatic.org/index.php/JUKI/article/view/3077