Journal of Applied Sciences ›› 2022, Vol. 40 ›› Issue (1): 93-104.doi: 10.3969/j.issn.0255-8297.2022.01.009

• Special Issue on Computer Applications • Previous Articles     Next Articles

Mask Wearing Detection in Complex Scenes Based on Mask-YOLO

WEI Mingjun1,2, ZHOU Taiyu1, JI Zhanlin1,2, ZHANG Xinnan1   

  1. 1. College of Artificial Intelligence, North China University of Science and Technology, Tangshan 063210, Hebei, China;
    2. Hebei Provincial Key Laboratory of Industrial Intelligent Perception, North China University of Science and Technology, Tangshan 063210, Hebei, China
  • Received:2021-10-27 Online:2022-01-28 Published:2022-01-28

Abstract: Aiming at the problem of low detection accuracy caused by occlusion, density and small scale in mask wearing detection in public places, a Mask-YOLO algorithm is proposed based on real-time target detection algorithm YOLOv3. First, the algorithm introduces channel attention mechanism in the process of feature fusion, effectively highlights the important features, reduces the influence of redundant features after fusion, and effectively improves the feature utilization. Then, complete intersection over union (CIoU) loss is used instead of mean square error (MSE) as the loss function of frame regression to improve the positioning accuracy. Finally, in addition to the cases of detecting wearing and not wearing masks, incorrect wearing of masks is also detected. Experimental results show that Mask-YOLO algorithm improves mean average precision (mAP) by 4.78% when frame per second (FPS) decreases by only 1% compared with YOLOv3 algorithm. As compared with other mainstream target detection algorithms, Mask-YOLO algorithm also has better detection effect and robustness for mask wearing detection in complex scenes.

Key words: mask wearing detection, Mask-YOLO, attention mechanism, feature fusion, loss function

CLC Number: