Mask-Wearing Detection in Complex Environments Based on Improved YOLOv7
Open Access
- 24 April 2024
- journal article
- research article
- Published by MDPI AG in Applied Sciences
- Vol. 14 (9) , 3606
Abstract
Wearing masks is an effective protective measure for residents to prevent respiratory infectious diseases when going out. Due to issues such as a small target size, target occlusion leading to information loss, false positives, and missed detections, the effectiveness of face mask-wearing detection needs improvement. To address these issues, an improved YOLOv7 object detection model is proposed. Firstly, the C2f_SCConv module is introduced in the backbone network to replace some ELAN modules for feature extraction, enhancing the detection performance of small targets. Next, the SPPFCSPCA module is proposed to optimize the spatial pyramid pooling structure, accelerating the model convergence speed and improving detection accuracy. Finally, the HAM_Detect decoupled detection head structure is introduced to mitigate missed and false detections caused by target occlusion, further accelerating model convergence and improving detection performance in complex environments. The experimental results show that improved YOLOv7 achieved an mAP of 90.1% on the test set, a 1.4% improvement over the original YOLOv7 model. The detection accuracy of each category improved, effectively providing technical support for mask-wearing detection in complex environments.Keywords
Funding Information
- Guangdong Provincial Philosophy and Social Science Planning Project (GD23YJY08)
This publication has 22 references indexed in Scilit:
- Drone-based apple detection: Finding the depth of apples using YOLOv7 architecture with multi-head attention mechanismSmart Agricultural Technology, 2023
- Face Mask Recognition Based on Improved YOLOv7-Tiny2023
- SCConv: Spatial and Channel Reconstruction Convolution for Feature Redundancy2023
- YOLOv7: Trainable Bag-of-Freebies Sets New State-of-the-Art for Real-Time Object Detectors2023
- HAM: Hybrid attention module in deep convolutional neural networks for image classificationPattern Recognition, 2022
- ECA-Net: Efficient Channel Attention for Deep Convolutional Neural Networks2020
- Rethinking Classification and Localization for Object Detection2020
- CornerNet: Detecting Objects as Paired Keypoints2018
- CBAM: Convolutional Block Attention Module2018
- SSD: Single Shot MultiBox Detector2016