Enhanced YOLOv5 algorithm for helmet wearing detection via combining bi-directional feature pyramid, attention mechanism and transfer learning

被引:4
|
作者
Fang, Yinfeng [1 ]
Ma, Yuhang [1 ]
Zhang, Xuguang [1 ]
Wang, Yuxi [1 ]
机构
[1] Hangzhou Dianzi Univ, Sch Commun Engn, Hangzhou, Peoples R China
关键词
Helmet wearing detection; YOLO; Transfer learning; Attention mechanism; BiFPN;
D O I
10.1007/s11042-023-14395-0
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
The complexity of infrastructure scenarios has led to a sustained increase in the global number of worksites related fatalities and injuries. Therefore, safety helmets play an essential role in protecting construction workers from accidents. It is essential to detect whether the helmets are correctly worn on the heads for smart construction site. However, due to the complex construction environments, it is challenging to precisely detect safety helmet wearing in real-time. This paper proposes an enhanced version of You Only Look Once version 5 (YOLOv5) to improve the detection accuracy, where bi-directional feature pyramid network (BiFPN), attention mechanism, and transfer learning are fully integrated. The BiFPN is taken to replace the original feature pyramid network (FPN) via adding additional cross layer edges with adaptive connecting weights. Attention mechanism is added after the end of backbone and neck network to let the network pay more attention on the interested region. Transfer learning is adopted for model training. The model is pre-trained by a head detection database and then fine-tuned by the helmet database. The proposed enhanced YOLOv5 is tested on a public GDU-HWD dataset, where both helmet and its color can be identified. This study achieves the accuracy at 93.3%, which is 4.8% higher than that of the original YOLOv5, but does not bring in much computing burden to the network. It is believed that the enhance version can also be successfully used in other similar detection tasks.
引用
收藏
页码:28617 / 28641
页数:25
相关论文
共 30 条
  • [21] YOLOv5 Transmission Line Fault Detection Based on Attention Mechanism and Cross-scale Feature Fusion
    Hao S.
    Yang L.
    Ma X.
    Ma R.
    Wen H.
    Zhongguo Dianji Gongcheng Xuebao/Proceedings of the Chinese Society of Electrical Engineering, 2023, 43 (06): : 2319 - 2330
  • [22] Improved YOLOv5 Based on Feature Fusion and Attention Mechanism and Its Application in Continuous Casting Slab Detection
    Yang, Hongliang
    Fang, Yiming
    Liu, Le
    Ju, Hao
    Kang, Kesong
    IEEE TRANSACTIONS ON INSTRUMENTATION AND MEASUREMENT, 2023, 72
  • [23] Defect Detection for Metal Shaft Surfaces Based on an Improved YOLOv5 Algorithm and Transfer Learning
    Li, Bi
    Gao, Quanjie
    SENSORS, 2023, 23 (07)
  • [24] High-through cell micronucleus image detection method combining multi-attention mechanism and YOLOv5
    Wei, Weiyi
    Li, Jingyu
    Wu, Xiaoqin
    Zhang, Hangjian
    BIOMEDICAL SIGNAL PROCESSING AND CONTROL, 2024, 87
  • [25] Cross stage partial connections based weighted Bi-directional feature pyramid and enhanced spatial transformation network for robust object detection
    Lu, Yan-Feng
    Yu, Qian
    Gao, Jing-Wen
    Li, Yi
    Zou, Jun-Cheng
    Qiao, Hong
    NEUROCOMPUTING, 2022, 513 : 70 - 82
  • [26] Research on the Coordinate Attention Mechanism Fuse in a YOLOv5 Deep Learning Detector for the SAR Ship Detection Task
    Xie, Fang
    Lin, Baojun
    Liu, Yingchun
    SENSORS, 2022, 22 (09)
  • [27] YOLO-BGS Optimizes Textile Production Processes: Enhancing YOLOv8n with Bi-Directional Feature Pyramid Network and Global and Shuffle Attention Mechanisms for Efficient Fabric Defect Detection
    Lu, Gege
    Xiong, Tian
    Wu, Gaihong
    SUSTAINABILITY, 2024, 16 (18)
  • [28] YOLO-SAIL: Attention-Enhanced YOLOv5 With Optimized Bi-FPN for Ship Target Detection in SAR Images
    Selvam, Prabu
    Shanmuga Sundari, P.
    Tamilselvi, M.
    Suresh, T.
    Murugappan, M.
    Chowdhury, Muhammad E. H.
    IEEE ACCESS, 2025, 13 : 29523 - 29540
  • [29] An industrial interference-resistant gear defect detection method through improved YOLOv5 network using attention mechanism and feature fusion
    Zhang, Shuwen
    He, Minqi
    Zhong, Zhenyu
    Zhu, Dahu
    MEASUREMENT, 2023, 221
  • [30] Short-term prediction of integrated energy load aggregation using a bi-directional simple recurrent unit network with feature-temporal attention mechanism ensemble learning model
    Yan, Qin
    Lu, Zhiying
    Liu, Hong
    He, Xingtang
    Zhang, Xihai
    Guo, Jianlin
    APPLIED ENERGY, 2024, 355