Safety Helmet Detection Based on Improved YOLOv8

Authors

  • Nishat Fatima B/E Students, Department Of Computer Science & Engineering, ISL Engineering College, Hyderabad, India. Author
  • Rabia Fatima B/E Students, Department Of Computer Science & Engineering, ISL Engineering College, Hyderabad, India. Author
  • Hafeza Jamal B/E Students, Department Of Computer Science & Engineering, ISL Engineering College, Hyderabad, India Author
  • Dr. Ijteba Sultana Assistant Professor, Department Of Computer Science & Engineering, ISL Engineering College, Hyderabad, India. Author

DOI:

https://doi.org/10.62647/IJITCE2025V13I2sPP1-6

Keywords:

YOLOv8, YOLOv8n, mAP50, and mAP50-95

Abstract

Wearing safety helmets can effectively reduce the risk of head injuries for construction workers in high-altitude falls. In order to address the low detection accuracy of existing safety helmet detection algorithms for small targets and complex environments in various scenes, this study proposes an improved safety helmet detection algorithm based on YOLOv8, named YOLOv8n. For data augmentation, the mosaic data augmentation method is employed, which generates many tiny targets. In the backbone network, a coordinate attention (CA) mechanism is added to enhance the focus on safety helmet regions in complex backgrounds, suppress irrelevant feature interference, and improve detection accuracy. In the neck network, a slim-neck structure fuses features of different sizes extracted by the backbone network, reducing model complexity while maintaining accuracy. In the detection layer, a small target detection layer is added to enhance the algorithm’s learning ability for crowded small targets. Experimental results indicate that, through these algorithm improvements, the detection performance of the algorithm has been enhanced not only in general scenarios of real-world applicability but also in complex backgrounds and for small targets at long distances. Compared to the YOLOv8n algorithm, YOLOv8n in precision, recall, mAP50, and mAP50-95 metrics, respectively. Additionally, YOLOv8n-SLIM-CA reduces the model parameters by 6.98% and the computational load by 9.76%. It is capable of real-time and accurate detection of safety helmet wear. Comparison with other mainstream object detection algorithms validates the effectiveness and superiority of this method.

Downloads

Download data is not yet available.

Downloads

Published

11-06-2025

How to Cite

Safety Helmet Detection Based on Improved YOLOv8. (2025). International Journal of Information Technology and Computer Engineering, 13(2s), 1-6. https://doi.org/10.62647/IJITCE2025V13I2sPP1-6