Research and Optimization of a Lightweight Refined Mask-Wearing Detection Algorithm Based on an Attention Mechanism

被引:0
|
作者
Shi, Xiangbo [1 ]
Tong, Yala [1 ]
Mei, Fei [1 ]
Wu, Zhongjian [2 ]
机构
[1] Hubei Univ Technol, Sch Sci, Wuhan 430068, Peoples R China
[2] Hubei Univ Technol, Sch Detroit, Wuhan 430068, Peoples R China
关键词
attention mechanism; feature fusion; mask detection; small targets; YOLOv4-tiny;
D O I
10.3390/electronics12081911
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
To address the current problems of the incomplete classification of mask-wearing detection data, small-target miss detection, and the insufficient feature extraction capabilities of lightweight networks dealing with complex faces, a lightweight method with an attention mechanism for detecting mask wearing is presented in this paper. This study incorporated an "incorrect_mask" category into the dataset to address incomplete classification. Additionally, the YOLOv4-tiny model was enhanced with a prediction feature layer and feature fusion execution, expanding the detection scale range and improving the performance on small targets. A CBAM attention module was then introduced into the feature enhancement network, which re-screened the feature information of the region of interest to retain important feature information and improve the feature extraction capabilities. Finally, a focal loss function and an improved mosaic data enhancement strategy were used to enhance the target classification performance. The experimental results of classifying three objects demonstrate that the lightweight model's detection speed was not compromised while achieving a 2.08% increase in the average classification precision, which was only 0.69% lower than that of the YOLOv4 network. Therefore, this approach effectively improves the detection effect of the lightweight network for mask-wearing.
引用
收藏
页数:12
相关论文
共 50 条
  • [21] Multi-Scale Target Detection Algorithm Based on Attention Mechanism
    Ju Moran
    Luo Jiangning
    Wang Zhongbo
    Luo Haibo
    ACTA OPTICA SINICA, 2020, 40 (13)
  • [22] Occluded Pedestrian Detection Algorithm Based on Attention Mechanism
    Zou Ziyin
    Gai Shaoyan
    Da Feipeng
    Li Yu
    ACTA OPTICA SINICA, 2021, 41 (15)
  • [23] Research on Small Object Detection Based on Feature Fusion and Attention Mechanism
    Liu, Jianwei
    Liu, Zheng
    Lu, Jingwen
    Li, Chuancan
    Chen, Gangqiang
    39TH YOUTH ACADEMIC ANNUAL CONFERENCE OF CHINESE ASSOCIATION OF AUTOMATION, YAC 2024, 2024, : 2285 - 2291
  • [24] CCBLA: a Lightweight Phishing Detection Model Based on CNN, BiLSTM, and Attention Mechanism
    Zhu, Erzhou
    Yuan, Qixiang
    Chen, Zhile
    Li, Xuejian
    Fang, Xianyong
    COGNITIVE COMPUTATION, 2023, 15 (04) : 1320 - 1333
  • [25] Leaf Disease Detection Based on Lightweight Deep Residual Network and Attention Mechanism
    Xiao, Zhiyong
    Shi, Yongge
    Zhu, Gailin
    Xiong, Jianping
    Wu, Jianhua
    IEEE ACCESS, 2023, 11 : 48248 - 48258
  • [26] CCBLA: a Lightweight Phishing Detection Model Based on CNN, BiLSTM, and Attention Mechanism
    Erzhou Zhu
    Qixiang Yuan
    Zhile Chen
    Xuejian Li
    Xianyong Fang
    Cognitive Computation, 2023, 15 : 1320 - 1333
  • [27] A lightweight detector based on attention mechanism for aluminum strip surface defect detection
    Ma, Zhuxi
    Li, Yibo
    Huang, Minghui
    Huang, Qianbin
    Cheng, Jie
    Tang, Si
    COMPUTERS IN INDUSTRY, 2022, 136
  • [28] LAD-Net: A lightweight welding defect surface non-destructive detection algorithm based on the attention mechanism
    Liang, Feng
    Zhao, Lun
    Ren, Yu
    Wang, Sen
    To, Sandy
    Abbas, Zeshan
    Islam, Md Shafiqul
    COMPUTERS IN INDUSTRY, 2024, 161
  • [29] A Lightweight Rice Pest Detection Algorithm Using Improved Attention Mechanism and YOLOv8
    Yin, Jianjun
    Huang, Pengfei
    Xiao, Deqin
    Zhang, Bin
    AGRICULTURE-BASEL, 2024, 14 (07):
  • [30] Research on Indoor Positioning Algorithm Based on Multimodal and Attention Mechanism
    Shi, Chenxi
    Yang, Lvqing
    Lin, Lanliang
    Wu, Yongrong
    Yang, Shuangyuan
    Chen, Sien
    Yu, Bo
    ADVANCED INTELLIGENT COMPUTING TECHNOLOGY AND APPLICATIONS, ICIC 2023, PT II, 2023, 14087 : 33 - 45