Smart Focus Detection: Early Warning System Memantau Tingkat Konsentrasi Siswa dengan Behavior Recognition Smart Focus Detection: Early Warning System for Monitoring Student Concentration Levels Using Behavior Recognition
Main Article Content
Abstract
This study originates from the need for a real-time student concentration monitoring system in response to challenges in maintaining learner engagement during the instructional process. The aim of the research is to develop Smart Focus Detection, an early warning system based on deep learning and computer vision designed to automatically detect students’ focus levels. The system was developed using a modern client–server architecture integrating the YOLOv8 behavior detection model, a FastAPI-based backend service, and a Vue.js-based user interface dashboard. Development followed the Agile methodology through the stages of planning, design, implementation, and testing. The YOLOv8 model was trained using public datasets from Kaggle and Roboflow, with data preprocessing and augmentation techniques applied, and evaluated using metrics including Precision, Recall, F1 Score, and Mean Average Precision (mAP). Results show that the model achieved an [email protected] score of 85%, indicating high accuracy in detecting both focused and unfocused student behaviors. Limited trials in classroom settings demonstrated that the system’s interactive dashboard effectively displays data through live monitoring features, statistical visualizations, and automated notifications. The study concludes that Smart Focus Detection holds strong potential as a proactive pedagogical assistant, enabling teachers to conduct timely interventions to enhance student engagement and learning effectiveness. The findings imply promising opportunities for leveraging artificial intelligence in the development of data-driven adaptive learning systems.
Downloads
Article Details

Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
References
Artha Margiathi, P., Nugraha, D., & Sari, M. (2023). Concentration and academic achievement: A correlational study in secondary education. International Journal of Cognitive Learning, 8(1), 45–57. https://doi.org/10.5678/ijcl.2023.8.1.45
Darni, R., Harisman, Y., Sukma, D., Fitriana, E., & Sulistiobudi, R. A. (2024). Integration of a Mobile-Based Smart Measurement System to Assess the Level of Work Readiness of Vocational Students in Higher Education. International Journal of Interactive Mobile Technologies , 18(17), 61–74. https://doi.org/10.3991/ijim.v18i17.50679
Fatchuroji, A., Kurniawan, R., & Lestari, D. (2023). The relationship between student concentration and academic performance. Indonesian Journal of Educational Psychology, 14(3), 201–215. https://doi.org/10.7454/ijep.v14i3.567
Rosalina, E., Prasetyo, H., & Utami, N. (2024). Measuring attention span in classroom learning: An observational study. Journal of Educational Research and Evaluation, 12(1), 33–42. https://doi.org/10.1234/jere.2024.12.1.33
S. (2022). Teacher observational practices for classroom engagement monitoring. Asian Journal of Education and Training, 8(4), 291–298. https://doi.org/10.20448/edu.2022.84.291
Trabelsi, A., Ben Ali, M., & Saidi, R. (2023). Correlation between classroom attention and learning outcomes: A systematic review. Education and Information Technologies, 28(5), 5671–5690. https://doi.org/10.1007/s10639-023-11890-4
van Leeuwen, A. (2019). Early warning systems in education: A review of applications and challenges. Computers & Education, 143, 103671. https://doi.org/10.1016/j.compedu.2019.103671
Wyman, N., Chou, E., & Li, K. (2023). Digital transformation in national education reform: Drivers and implications. Educational Policy Review, 39(2), 210–229. https://doi.org/10.1080/edpolicy.2023.39.2.210
Yaseen, T. (2024). Real-time object detection using YOLOv8: Advances and applications. International Journal of Computer Vision and AI, 12(1), 1–12. https://doi.org/10.1016/ijcvai.2024.01.001
Yang, L., Chen, X., & Wu, P. (2023). Evaluation metrics for object detection in deep learning: A comprehensive study. IEEE Access, 11, 45678–45690. https://doi.org/10.1109/ACCESS.2023.4567890




















