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 条
  • [1] Enhanced YOLOv5 algorithm for helmet wearing detection via combining bi-directional feature pyramid, attention mechanism and transfer learning
    Yinfeng Fang
    Yuhang Ma
    Xuguang Zhang
    Yuxi Wang
    Multimedia Tools and Applications, 2023, 82 : 28617 - 28641
  • [2] Helmet wearing detection algorithm based on improved YOLOv5
    Liu, Yiping
    Jiang, Benchi
    He, Huan
    Chen, Zhijun
    Xu, Zhenfa
    SCIENTIFIC REPORTS, 2024, 14 (01)
  • [3] A defect detection network for painted wall surfaces based on YOLOv5 enhanced by attention mechanism and bi-directional FPN
    Zhang, Hongyang
    Ji, Shuai
    Ye, Yingxin
    Ni, Hepeng
    Gao, Xiaoming
    Liu, Buyao
    Soft Computing, 2024, 28 (17-18) : 10391 - 10402
  • [4] Improved YOLOv5 Helmet Wearing Detection Algorithm for Small Targets
    Deng, Zhenrong
    Xiong, Yuxu
    Yang, Rui
    Chen, Yuren
    Computer Engineering and Applications, 2024, 60 (03) : 78 - 87
  • [5] EBiDA-FPN: enhanced bi-directional attention feature pyramid network for object detection
    Yang, Xiaobao
    He, Yulong
    Wu, Junsheng
    Wang, Wentao
    Sun, Wei
    Ma, Sugang
    Hou, Zhiqiang
    JOURNAL OF ELECTRONIC IMAGING, 2024, 33 (02)
  • [6] Detection of maturity and counting of blueberry fruits based on attention mechanism and bi-directional feature pyramid network
    Zhai, Xuetong
    Zong, Ziyan
    Xuan, Kui
    Zhang, Runzhe
    Shi, Weiming
    Liu, Hang
    Han, Zhongzhi
    Luan, Tao
    JOURNAL OF FOOD MEASUREMENT AND CHARACTERIZATION, 2024, 18 (07) : 6193 - 6208
  • [7] Classroom Behavior Detection Based on Improved YOLOv5 Algorithm Combining Multi-Scale Feature Fusion and Attention Mechanism
    Tang, Longyu
    Xie, Tao
    Yang, Yunong
    Wang, Hong
    APPLIED SCIENCES-BASEL, 2022, 12 (13):
  • [8] YOLOv5-KCB: A New Method for Individual Pig Detection Using Optimized K-Means, CA Attention Mechanism and a Bi-Directional Feature Pyramid Network
    Li, Guangbo
    Shi, Guolong
    Jiao, Jun
    SENSORS, 2023, 23 (11)
  • [9] Closely arranged inshore ship detection using a bi-directional attention feature pyramid network
    Guo, Hao
    Gu, Dongbing
    INTERNATIONAL JOURNAL OF REMOTE SENSING, 2023, 44 (22) : 7106 - 7125
  • [10] Surface Defect Detection With Channel-Spatial Attention Modules and Bi-Directional Feature Pyramid
    Xin, Haitao
    Zhang, Kai
    IEEE ACCESS, 2023, 11 : 88960 - 88970