Improving the Lightweight Classroom Face Detection Algorithm of YOLOv5

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.

Authors

Institutions

Publication Details

Published
2024-09-20
DOI
https://doi.org/10.1109/aicit62434.2024.10729928
Primary Topic
Face recognition and analysis
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Improving the Lightweight Classroom Face Detection Algorithm of YOLOv5

Dengfeng Yao, Li Li
Face recognition and analysis
article

Improving the Lightweight Classroom Face Detection Algorithm of YOLOv5

Dengfeng Yao, Li Li
article en

Abstract

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.

Beijing Union University (CN)
Openalex Percentile: Top 81%
Face recognition and analysis
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.