Classroom Attention Detection Using YOlOv8 and ResNet-based Facial Expression Recognition Model
Abstract
This paper proposes a classroom attention detection model based on YOLOv8 and ResNet, aimed at evaluating students' engagement during class by analyzing facial expressions. The model consists of two main components: the YOLOv8 and ResNet classification models. YOLOv8 is used to localize facial regions in real time, and ResNet is used to recognize students' emotional states. Emotional states are categorized into seven facial expressions: "Surprise", "Fear", "Disgust", "Happy", "Sad", "Angry", and "Neutral". Positive expressions such as "Happy", "Surprise", and "Neutral" are classified as "Good" attention states, while negative expressions are classified as "Bad" attention states. Experimental results show that the proposed model achieves high precision and recall, with a precision of 0.88649, recall of 0.6654, mAP@50 of 0.7567, and mAP@50-95 of 0.41387. These results indicate that the model can effectively assess students' classroom attention, providing valuable feedback for teachers to monitor student engagement. In conclusion, this study demonstrates the potential of using facial expression recognition for classroom attention detection. Future work will focus on improving the model's real-time performance, adaptability across different environments, and integrating multimodal data for more accurate and personalized attention evaluation.
References
- Zhu, H., Zhao, J., & Niu, L. (2022, December). An efficient model for student behavior recognition in classroom. In 2022 International Conference on Intelligent Education and Intelligent Research (IEIR) (pp. 142-147). IEEE.
- Betto, I., Hatano, R., & Nishiyama, H. (2023). Distraction detection of lectures in e-learning using machine learning based on human facial features and postural information. Artificial Life and Robotics, 28(1), 166-174.
- Elbawab, M., & Henriques, R. (2023). Machine Learning applied to student attentiveness detection: Using emotional and non-emotional measures. Education and information technologies, 28(12), 15717-15737.
- Duan, Y., & Zhang, S. (2024, July). Student classroom behavior recognition based on bidirectional feature fusion. In Third International Conference on Electronic Information Engineering, Big Data, and Computer Technology (EIBDCT 2024) (Vol. 13181, pp. 116-121). SPIE.
- Liu, D., Wang, Z., Wang, L., & Chen, L. (2021). Multi-modal fusion emotion recognition method of speech expression based on deep learning. Frontiers in Neurorobotics, 15, 697634.
- Sun, J., Li, S., & Zhang, J. (2024). Classroom Behavior Recognition and Research Based on DLKAS-YOLO8n. Academic Journal of Computing & Information Science, 7(11).
- Liu, Q., Jiang, R., Xu, Q., Wang, D., Sang, Z., Jiang, X., & Wu, L. (2024). Yolov8n_bt: Research on classroom learning behavior recognition algorithm based on improved yolov8n. IEEE Access.
- Wang, L., Chen, L., & Liu, W. (2024, September). A Study on Student Behavior Recognition Based on YOLOv7. In 2024 2nd International Conference on Signal Processing and Intelligent Computing (SPIC) (pp. 1158-1163). IEEE.
- Fan, X., & Fan, B. (2024, March). STUEFF-YOLOv5s: A Lightweight Method for Deep Identification of Students’ Behavior in the Classroom. In Proceedings of the 2024 3rd International Conference on Cyber Security, Artificial Intelligence and Digital Economy (pp. 401-405).
- Wang, Z., Yao, J., Zeng, C., Wu, W., Xu, H., & Yang, Y. (2023). Learning behavior recognition in smart classroom with multiple students based on YOLOv5. arXiv preprint arXiv: 2303.10916.