Enhanced PPE detection in low-light tunnel environments: a YOLOv5-based approach
摘要
Tunnel construction environments present a confluence of hazardous conditions, including poor lighting, high levels of dust, and frequent occlusion from machinery, which significantly increase the risk of accidents. Ensuring workers correctly wear personal protective equipment (PPE) is a critical safety measure, yet traditional manual supervision is inefficient and prone to oversight. To address this challenge, this paper introduces an improved YOLOv5-based method specifically designed for robust PPE detection in low-light tunnel environments. Our approach integrates three key innovations: a channel-metric (CM) attention mechanism to enhance feature contrast in dark conditions; an adaptive feature pyramid network (AFPN) to improve the detection of small and occluded targets; and an XIoU_NMS function to reduce missed detections in cluttered scenes. Experimental results on a real-world tunnel dataset demonstrate significant improvements, achieving a precision of 94.6% and a mean average precision (mAP@0.5) of 90.2%. The model demonstrates stable performance in actual tunnel monitoring systems, showing potential for enhancing construction safety management.