Real-time detection algorithm of helmet and reflective vest based on improved YOLOv5

被引:16
|
作者
Chen, Zhihua [1 ]
Zhang, Fan [1 ]
Liu, Hongbo [1 ,3 ]
Wang, Longxuan [1 ]
Zhang, Qian [2 ]
Guo, Liulu [1 ]
机构
[1] Tianjin Univ, State Key Lab Hydraul Engn Simulat & Safety, Tianjin 300072, Peoples R China
[2] China Construction Sixth Engn Bur, Tianjin 300072, Peoples R China
[3] Hebei Univ Engn, Dept Civil Engn, Handan 056000, Peoples R China
关键词
Object detection; Helmet; Reflective vest; YOLOv5; Deep learning;
D O I
10.1007/s11554-023-01268-w
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
To address the current problems of helmet and reflective vest detection algorithms, such as long inference times, high hardware requirements, and difficulty detecting small objects, an improved real-time detection algorithm based on YOLOv5 is proposed. First, the Mosaic-9 data enhancement method is adopted to expand the number of image splicings from four to nine, enriching the small-scale sample dataset. Minimum rectangular area cropping is used instead of the original random cropping to improve the training efficiency. Then, the EIOU (Efficient Intersection Over Union) loss is used as the loss function, and the focal loss is introduced to focus on the high-quality anchor box, achieving the purpose of accelerating the convergence speed and improving regression accuracy. Next, the CBAM-CA (Convolutional Block Attention Module-Coordinate Attention) hybrid attention mechanism is added to the network model. The purpose of the model is to focus on the small object's spatial and channel feature information to improve the small object's detection performance. Finally, a new scale object detection layer is added to learn the multilevel features of the dense object. The experimental results show that the improved model's mAP (mean average precision) is 94.9%, an improvement of 7.0% over the original model. The size of the improved model is 4.49 MB, and the mean FPS (Frames Per Second) is 62. This algorithm guarantees a small model size while significantly increasing mAP, which is suitable for deployment on low computing power platforms.
引用
收藏
页数:14
相关论文
共 50 条
  • [1] Real-time detection algorithm of helmet and reflective vest based on improved YOLOv5
    Zhihua Chen
    Fan Zhang
    Hongbo Liu
    Longxuan Wang
    Qian Zhang
    Liulu Guo
    [J]. Journal of Real-Time Image Processing, 2023, 20
  • [2] Real-time Safety Helmet-wearing Detection Based on Improved YOLOv5
    Li, Yanman
    Zhang, Jun
    Hu, Yang
    Zhao, Yingnan
    Cao, Yi
    [J]. COMPUTER SYSTEMS SCIENCE AND ENGINEERING, 2022, 43 (03): : 1219 - 1230
  • [3] A Real-Time Fish Target Detection Algorithm Based on Improved YOLOv5
    Li, Wanghua
    Zhang, Zhenkai
    Jin, Biao
    Yu, Wangyang
    [J]. JOURNAL OF MARINE SCIENCE AND ENGINEERING, 2023, 11 (03)
  • [4] Research on improved algorithm for helmet detection based on YOLOv5
    Shan, Chun
    Liu, Hongming
    Yu, Yu
    [J]. SCIENTIFIC REPORTS, 2023, 13 (01)
  • [5] Research on improved algorithm for helmet detection based on YOLOv5
    Chun Shan
    HongMing Liu
    Yu Yu
    [J]. Scientific Reports, 13
  • [6] Helmet wearing detection algorithm based on improved YOLOv5
    Liu, Yiping
    Jiang, Benchi
    He, Huan
    Chen, Zhijun
    Xu, Zhenfa
    [J]. SCIENTIFIC REPORTS, 2024, 14 (01)
  • [7] Improved YOLOv5 Algorithm for Real-Time Detection of Irregular Driving Behavior
    Zou, Peng
    Yang, Kaijun
    Liang, Chen
    [J]. Computer Engineering and Applications, 2023, 59 (13) : 186 - 193
  • [8] A Real-Time Detection Algorithm for Kiwifruit Defects Based on YOLOv5
    Yao, Jia
    Qi, Jiaming
    Zhang, Jie
    Shao, Hongmin
    Yang, Jia
    Li, Xin
    [J]. ELECTRONICS, 2021, 10 (14)
  • [9] YOLOv5-R: lightweight real-time detection based on improved YOLOv5
    Ren, Jian
    Wang, Zhijie
    Zhang, Yifan
    Liao, Lei
    [J]. JOURNAL OF ELECTRONIC IMAGING, 2022, 31 (03)
  • [10] Helmet detection method based on improved YOLOv5
    Hou, Gongyu
    Chen, Qinhuang
    Yang, Zhenhua
    Zhang, Youwen
    Zhang, Danyang
    Li, Haoxiang
    [J]. Gongcheng Kexue Xuebao/Chinese Journal of Engineering, 2024, 46 (02): : 329 - 342