Improving the Lightweight Classroom Face Detection Algorithm of YOLOv5
Li Li, Dengfeng Yao · International Conference on Artificial Intelligence and Computer Information Technology (AICIT) · 2024
This study addresses issues in images captured by classroom surveillance cameras, such as unclear facial contours and indistinct texture features. Particularly, the small size of students' faces in the back rows increases the likelihood of recognition errors or omissions. To improve recognition accuracy and accommodate deployment on mobile devices, we refined and lightweighted the YOLOv5s algorithm. Firstly, we replaced the original CIOU loss function with the EIOU loss function to optimize the training model and achieve faster target recognition. Secondly, we introduced the GhostConv module and CBAM attention mechanism from GhostNet to enhance feature extraction capability and optimize the network structure. Through ablation experiments, we confirmed that the improved algorithm maintains high recognition accuracy while reducing the parameter count. Experimental results demonstrate significant reductions in Params and FLOPs compared to the original version, with only a 0.6% decrease in mAP and a 0.7% decrease in Precision. This makes it more suitable for deployment on mobile devices, effectively addressing facial detection challenges in classroom environments.
Cited by 1 works. doi:10.1109/aicit62434.2024.10729928
Authors
References
- Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks
- Mask R-CNN
- Focal Loss for Dense Object Detection
- CBAM: Convolutional Block Attention Module
- Distance-IoU Loss: Faster and Better Learning for Bounding Box Regression
- GhostNet: More Features From Cheap Operations
- WIDER FACE: A Face Detection Benchmark
- TPH-YOLOv5: Improved YOLOv5 Based on Transformer Prediction Head for Object Detection on Drone-captured Scenarios
- RetinaFace: Single-Shot Multi-Level Face Localisation in the Wild
- Face detection techniques: a review