Skip to content

Menu

WorksPubMed

Research on attention mechanism and loss function based on YOLOv5 to improve the detection method of underground personnel wearing safety helmets.

A preview from PubMed. Valency holds this work's metadata and abstract, not its full text.

Abstract

Detecting whether underground workers are wearing safety helmets has long been an essential yet challenging task in industrial safety monitoring. Due to dim lighting, occlusion, and complex backgrounds in mining environments, existing object detection models often fail to achieve satisfactory performance. To address these issues, this study proposes an improved helmet detection approach based on YOLOv5. The Squeeze-and-Excitation Network (SENet) is enhanced with a multi-scale average pooling mechanism and the smoother Swish activation function, forming a lightweight attention module named SENet-tn. In addition, a novel loss function, INWDLoss, is introduced by integrating the advantages of the Normalized Wasserstein Distance (NWDLoss) and IoULoss to improve robustness in small-target detection and high-overlap scenarios. Experiments conducted on the self-built Mine Wearing Helmet Dataset (MWHD) demonstrate that the proposed YOLOv5s-tn model increases the mean Average Precision (mAP) by 2.91% compared to the baseline YOLOv5s. These results confirm that the enhanced attention mechanism and loss function effectively improve detection accuracy and reliability for underground helmet-wearing scenarios, providing technical support for intelligent safety supervision in mines.

Paper details

Source

Source
PubMed
First available
May 31, 2026
Identifier
pubmed:42225685

Pick where to look, or just type