arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2203.16506cs.CVcs.LG
收藏

基于注意力机制的改进轻量级YOLOv5人脸检测模型

An Improved Lightweight YOLOv5 Model Based on Attention Mechanism for Face Mask Detection

Northwestern Polytechnical University(西北工业大学);University of Leeds(利兹大学);SiChuan University(四川大学)

Sheng Xu, Zhanyu Guo, Yuchi Liu, Jingwei Fan, Xuxu Liu

摘要:

2019冠状病毒给全球社会稳定和公共卫生带来了严峻挑战。控制疫情的一个有效方法是要求人们在公共场所佩戴口罩,并利用合适的自动检测器监测口罩佩戴状态。然而,现有的基于深度学习的模型难以同时实现高精度和实时性能的要求。为了解决这个问题,我们提出了一种改进的轻量级人脸面具检测器的基础上YOLOv 5,它可以实现一个很好的平衡精度和速度。首先,提出了一种结合ShuffleNetV 2网络和协调注意力机制的骨干ShuffleCANet。之后,一个有效的路径侵略网络BiFPN被应用作为特征融合颈。此外,在模型训练阶段用alpha-CIoU代替定位损失,以获得更高质量的锚点。一些有价值的策略,如数据增强,自适应图像缩放,和锚集群操作也被利用。在AIZOO人脸模板数据集上的实验结果表明了该模型的优越性。与原始YOLOv 5相比,该模型的推理速度提高了28.3%,而精度仍提高了0.58%。与现有的其他7个模型相比,它达到了最好的平均精度95.2%,比基线高4.4%。

英文摘要:

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 higher-quality anchors. Some valuable strategies such as data augmentation, adaptive image scaling, and anchor cluster operation are also utilized. Experimental results on AIZOO face mask dataset show the superiority of the proposed model. Compared with the original YOLOv5, the proposed model increases the inference speed by 28.3% while still improving the precision by 0.58%. It achieves the best mean average precision of 95.2% compared with other seven existing models, which is 4.4% higher than the baseline.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑