Improved lightweight helmet wear detection algorithm

被引:0
|
作者
Liu Xue-chun [1 ,2 ]
Liu Da-ming [1 ,2 ]
Liu Ruo-chen [1 ,2 ]
机构
[1] Ningxia Univ, Sch Elect & Elect Engn, Yinchuan 750000, Ningxia, Peoples R China
[2] Ningxia Univ, Key Lab Intelligent Sensing Desert Informat, Yinchuan 750000, Ningxia, Peoples R China
关键词
YOLOv5; lightweight; safety helmet; embedded; attention mechanisms;
D O I
10.37188/CJLCD.2022-0268
中图分类号
O7 [晶体学];
学科分类号
0702 ; 070205 ; 0703 ; 080501 ;
摘要
For the existing helmet wearing detection algorithm for dense targets and small targets having the phenomenon of missed detection,many parameters,large computation,and not suitable for deployment in the embedded device side and other problems,this paper proposes an improved YOLOv5 helmet wearing detection algorithm YOLOv5-Q. Firstly,on the original network 80x80 feature map,the 2 times up-sampling operation is made to form a 160x160 feature map,and the new feature map fuses the three-layer feature information of the original model to form a four-scale detection,which improves the detection accuracy of dense targets and small targets. Secondly,the feature extraction is achieved by replacing the original YOLOv5 backbone network with a lightweight GhostNet,which reduces the parameters of the network and can be ported to the embedded devices for target detection. Finally,the attention mechanism CA is added to boost the weight of important information in the feature map and suppress the weight of non-relevant information, thus improving the accuracy of the model. The experimental results show that the model size of YOLOv5-Q is 26. 47 MB,the number of parameters is 12 696 640, and the accuracy is 0. 937. Compared with YOLOv5,the YOLOv5-Q algorithm reduces the number of parameters by 39. 12%,the model size by 37. 2%,but the accuracy by only 1. 2%. The YOLOv5-Q algorithm increases the detection accuracy of small targets in dense environments and meets the requirements for deployment on the embedded side.
引用
收藏
页码:964 / 974
页数:11
相关论文
共 22 条
  • [1] [Anonymous], 2017, LI Q R. A research and implementation of safety-helmet video detection system based on human body recognition
  • [2] DUAN H B, 2022, Popular Standardization, P16
  • [3] Fast helmet-wearing-condition detection based on improved YOLOv2
    Fang M.
    Sun T.-T.
    Shao Z.
    [J]. Guangxue Jingmi Gongcheng/Optics and Precision Engineering, 2019, 27 (05): : 1196 - 1205
  • [4] Fast R-CNN
    Girshick, Ross
    [J]. 2015 IEEE INTERNATIONAL CONFERENCE ON COMPUTER VISION (ICCV), 2015, : 1440 - 1448
  • [5] Rich feature hierarchies for accurate object detection and semantic segmentation
    Girshick, Ross
    Donahue, Jeff
    Darrell, Trevor
    Malik, Jitendra
    [J]. 2014 IEEE CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2014, : 580 - 587
  • [6] [郭磊 Guo Lei], 2022, [电子科技大学学报, Journal of University of Electronic Science and Technology of China], V51, P251
  • [7] GhostNet: More Features from Cheap Operations
    Han, Kai
    Wang, Yunhe
    Tian, Qi
    Guo, Jianyuan
    Xu, Chunjing
    Xu, Chang
    [J]. 2020 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2020, : 1577 - 1586
  • [8] [韩锟 Han Kun], 2021, [铁道科学与工程学报, Journal of Rail Way Science and Engineering], V18, P268
  • [9] Pedestrian multi-target tracking method based on YOLOv5 and person re-identification
    He Yu-ting
    Che Jin
    Wu Jin-man
    [J]. CHINESE JOURNAL OF LIQUID CRYSTALS AND DISPLAYS, 2022, 37 (07) : 880 - 890
  • [10] Microsoft COCO: Common Objects in Context
    Lin, Tsung-Yi
    Maire, Michael
    Belongie, Serge
    Hays, James
    Perona, Pietro
    Ramanan, Deva
    Dollar, Piotr
    Zitnick, C. Lawrence
    [J]. COMPUTER VISION - ECCV 2014, PT V, 2014, 8693 : 740 - 755