An Improved Lightweight YOLOv5 Model Based on Attention Mechanism for Face Mask Detection
Sheng Xu, Zhanyu Guo, Yuchi Liu, Jingwei Fan, Xuxu Liu

TL;DR
This paper introduces an improved lightweight face mask detection model based on YOLOv5 that balances high precision and real-time speed, utilizing a novel backbone, efficient feature fusion, and training strategies, outperforming existing models.
Contribution
The paper proposes a novel backbone ShuffleCANet with attention mechanism, an efficient feature fusion network BiFPN, and training enhancements to improve face mask detection performance.
Findings
Inference speed increased by 28.3% compared to YOLOv5
Achieved 95.2% mean average precision on AIZOO dataset
Outperformed seven existing models in accuracy and speed
Abstract
Coronavirus 2019 has brought severe challenges to social stability and public health worldwide. One effective way of curbing the epidemic is to require people to wear masks in public places and monitor mask-wearing states by utilizing suitable automatic detectors. However, existing deep learning based models struggle to simultaneously achieve the requirements of both high precision and real-time performance. To solve this problem, we propose an improved lightweight face mask detector based on YOLOv5, which can achieve an excellent balance of precision and speed. Firstly, a novel backbone ShuffleCANet that combines ShuffleNetV2 network with Coordinate Attention mechanism is proposed as the backbone. Afterwards, an efficient path aggression network BiFPN is applied as the feature fusion neck. Furthermore, the localization loss is replaced with alpha-CIoU in model training phase to obtain…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsFace recognition and analysis · Video Surveillance and Tracking Methods · Facial Nerve Paralysis Treatment and Research
Methods*Communicated@Fast*How Do I Communicate to Expedia? · Depthwise Separable Convolution · BiFPN · Coordinate attention
