Electronic Science and Technology ›› 2023, Vol. 36 ›› Issue (2): 73-80.doi: 10.16180/j.cnki.issn1007-7820.2023.02.011

Previous Articles     Next Articles

YOLO-Improve Detection Method of Real-Time Mask Wearing

CHENG Changwen,CHEN Wei,CHEN Jinhong,YIN Zhong   

  1. School of Optical-Electrical and Computer Engineering,University of Shanghai for Science and Technology,Shanghai 200093,China
  • Received:2021-08-29 Online:2023-02-15 Published:2023-01-17
  • Supported by:
    National Natural Science Foundation of China(61703277)

Abstract:

The existing YOLO target detection model is based on the One-stage idea for multi-target detection. It is insufficient for dual-classification detection, and the performance consumption is large during detection. In order to improve the detection efficiency of dual-classification mask wearing during the period of the outbreak of COVID-19, this study proposes a real-time detection method based on YOLO for detecting the condition of bi-objective mask wearing. The feedforward input layer of the model is improved, the data enhancement part is optimized, and adaptive image scaling is added to improve the detection accuracy and detection efficiency of dual-classification and small targets. The adaptive anchoring frame is added to replace the activation function so as to reduce the computational complexity of the method and improves the detection efficiency of the method. The optimization of Neck and the addition of Focus structure improve the capability of feature fusion and reduce the amount of parameters to raise the efficiency. The experimental results showed that compared with the YOLOv4, the proposed method has a 0.33% increase in F1 and a 0.71% increase in mAp in the data set in the text, and the detection efficiency is also significantly improved under the same experimental environment.

Key words: YOLOv4, CSPDenseNet, Focus, data augmentation, activation function, CSP2, target detection, mask wearing

CLC Number: 

  • TP391