Helmet wearing detection algorithm based on improved YOLOv5
Authors:
Open Access
- 16 April 2024
- journal article
- research article
- Published by Springer Nature in Scientific Reports
- Vol. 14 (1) , 1-11
Abstract
In industrial production, workers need to wear safety helmets at all times. However, due to different lighting, viewing angles, and the tendency of people to block each other, the precision of target detection is not high enough. Aiming at this problem, a real-time detection of helmets was achieved by improving the YOLOv5 algorithm. This algorithm introduces the lightweight network structure FasterNet, which uses partial convolution as the main operator to reduce the amount of calculations and parameters of the network; the boundary regression loss function Wise-IoU loss function with a dynamic focusing mechanism replaces the original loss function in YOLOv5; finally, the CBAM attention mechanism is introduced to obtain global context information and improve the detection ability of small targets. The experimental results show that the parameters of the improved YOLOv5 model are reduced by 12.68%, the computational amount is reduced by 10.8%, the mAP is increased from 88.3 to 92.3%, and the inference time is reduced by 81.5%, which is better than the performance of the original model and can detect helmet wearing effectively and in real time.Keywords
Funding Information
- Open Research Fund of Anhui Province Key Laboratory of Machine Vision Inspection (KLMVI-2023-HIT-04, KLMVI-2023-HIT-04)
- Open Research Fund of AnHui Key Laboratory of Detection Technology and Energy Saving Devices (JCKJ2022B02, JCKJ2022B02)
- Enterprise Cooperation Project of Anhui Future Technology Research Institute (2023qyhz02, 2023qyhz02)
This publication has 13 references indexed in Scilit:
- Safety Helmet Wearing Detection Based on Particle Swarm Optimization YOLOv72023
- YOLOv7-Based Model for Detecting Safety Helmet Wear on Construction Sites2023
- Run, Don't Walk: Chasing Higher FLOPS for Faster Neural Networks2023
- Safety Helmet Detection at Construction Sites Using YOLOv5 and YOLOR2022
- CSPNet: A New Backbone that can Enhance Learning Capability of CNN2020
- Generalized Intersection Over Union: A Metric and a Loss for Bounding Box Regression2019
- CBAM: Convolutional Block Attention Module2018
- Path Aggregation Network for Instance Segmentation2018
- Detecting non-hardhat-use by a deep learning method from far-field surveillance videosAutomation in Construction, 2018
- SSD: Single Shot MultiBox Detector2016