Research on Safety Helmet Detection Algorithm Based on Improved YOLOv5s
- PMID: 37447673
- PMCID: PMC10346515
- DOI: 10.3390/s23135824
Research on Safety Helmet Detection Algorithm Based on Improved YOLOv5s
Abstract
Safety helmets are essential in various indoor and outdoor workplaces, such as metallurgical high-temperature operations and high-rise building construction, to avoid injuries and ensure safety in production. However, manual supervision is costly and prone to lack of enforcement and interference from other human factors. Moreover, small target object detection frequently lacks precision. Improving safety helmets based on the helmet detection algorithm can address these issues and is a promising approach. In this study, we proposed a modified version of the YOLOv5s network, a lightweight deep learning-based object identification network model. The proposed model extends the YOLOv5s network model and enhances its performance by recalculating the prediction frames, utilizing the IoU metric for clustering, and modifying the anchor frames with the K-means++ method. The global attention mechanism (GAM) and the convolutional block attention module (CBAM) were added to the YOLOv5s network to improve its backbone and neck networks. By minimizing information feature loss and enhancing the representation of global interactions, these attention processes enhance deep learning neural networks' capacity for feature extraction. Furthermore, the CBAM is integrated into the CSP module to improve target feature extraction while minimizing computation for model operation. In order to significantly increase the efficiency and precision of the prediction box regression, the proposed model additionally makes use of the most recent SIoU (SCYLLA-IoU LOSS) as the bounding box loss function. Based on the improved YOLOv5s model, knowledge distillation technology is leveraged to realize the light weight of the network model, thereby reducing the computational workload of the model and improving the detection speed to meet the needs of real-time monitoring. The experimental results demonstrate that the proposed model outperforms the original YOLOv5s network model in terms of accuracy (Precision), recall rate (Recall), and mean average precision (mAP). The proposed model may more effectively identify helmet use in low-light situations and at a variety of distances.
Keywords: K-means++; SIoU; YOLOv5; combinatorial attention mechanisms; detection; knowledge distillation.
Conflict of interest statement
The authors declare no conflict of interest.
Figures














Similar articles
-
Improvement of Lightweight Convolutional Neural Network Model Based on YOLO Algorithm and Its Research in Pavement Defect Detection.Sensors (Basel). 2022 May 6;22(9):3537. doi: 10.3390/s22093537. Sensors (Basel). 2022. PMID: 35591227 Free PMC article.
-
High-Precision and Lightweight Model for Rapid Safety Helmet Detection.Sensors (Basel). 2024 Oct 30;24(21):6985. doi: 10.3390/s24216985. Sensors (Basel). 2024. PMID: 39517880 Free PMC article.
-
Helmet Wearing State Detection Based on Improved Yolov5s.Sensors (Basel). 2022 Dec 14;22(24):9843. doi: 10.3390/s22249843. Sensors (Basel). 2022. PMID: 36560211 Free PMC article.
-
Face Mask-Wearing Detection Model Based on Loss Function and Attention Mechanism.Comput Intell Neurosci. 2022 Jul 12;2022:2452291. doi: 10.1155/2022/2452291. eCollection 2022. Comput Intell Neurosci. 2022. PMID: 35865498 Free PMC article. Review.
-
Infrared Dim Small Target Detection Networks: A Review.Sensors (Basel). 2024 Jun 15;24(12):3885. doi: 10.3390/s24123885. Sensors (Basel). 2024. PMID: 38931669 Free PMC article. Review.
Cited by
-
Dress Code Monitoring Method in Industrial Scene Based on Improved YOLOv8n and DeepSORT.Sensors (Basel). 2024 Sep 19;24(18):6063. doi: 10.3390/s24186063. Sensors (Basel). 2024. PMID: 39338809 Free PMC article.
References
-
- Jia W., Xu S., Liang Z., Zhao Y., Min H., Li S., Yu Y. Real-time automatic helmet detection of motorcyclists in urban traffic using improved YOLOv5 detector. IET Image Process. 2021;15:3623–3637. doi: 10.1049/ipr2.12295. - DOI
-
- Kartik B., Manimaran P. IOT based Smart Helmet for Hazard Detection in mining industry. arXiv. 20232304.10156
-
- Zhang C., Liu H., Deng Y., Xie B., Li Y. TokenHPE: Learning Orientation Tokens for Efficient Head Pose Es-timation via Transformers; Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR); Vancouver, BC, Canada. 18–22 June 2023; pp. 8897–8906.
-
- Liu H., Zhang C., Deng Y., Xie B., Liu T., Zhang Z., Li Y.-F. TransIFC: Invariant Cues-aware Feature Concentration Learning for Efficient Fine-grained Bird Image Classification. IEEE Trans. Multimed. 2023:1–14. doi: 10.1109/TMM.2023.3238548. - DOI
MeSH terms
Grants and funding
LinkOut - more resources
Full Text Sources