基于YOLO v11的轻量化安全帽佩戴检测算法
A Lightweight Safety Helmet Wearing Detection Algorithm Based on YOLO v11
DOI: 10.12677/sea.2025.146109, PDF,   
作者: 向德怀:上海理工大学光电信息与计算机工程学院,上海
关键词: YOLO 11n安全帽佩戴检测目标检测深度学习YOLO 11n Safety Helmet Wearing Detection Object Detection Deep Learning
摘要: 在建筑、采矿、勘探等工地施工场景中,安全帽佩戴检测算法是预防工人生产管理安全的重要手段,但现有目标检测模型存在检测精度低、参数量多等问题。本研究提出了一种基于YOLO v11框架LH-YOLO模型,旨在实现精度与效率的高度平衡。首先使用StarNet作为骨干网络,大幅降低计算复杂度;其次,设计了C3k2_SN模块特征融合颈部,模块采用星形跨阶段部分卷积,高效利用参数的同时,增强了特征表达的能力;最后构建了LSCD轻量化共享卷积头,并引入PIoUv2损失函数对边界框定位进行精细优化,进一步压缩检测头参数并优化预测。实验结果表明,在公开数据集SHWD (Safety Helmet Wearing Dataset)上进行实验,改进模型精确率达到93.4%,与原模型参数量降低了32.8%、十亿次的浮点计算量(GFLOPs)下降了34.8%、平均精度提升1.4%,兼顾高检测性能和实时性要求,更适用于实际生产环境的部署与应用。
Abstract: In construction, mining, exploration, and other construction site scenarios, the safety helmet wearing detection algorithm is an important means to prevent safety incidents in worker production management. However, existing object detection models suffer from issues such as low detection accuracy and a large number of parameters. This study proposes an LH-YOLO model based on the YOLO v11 framework, aiming to achieve a high balance between accuracy and efficiency. Firstly, StarNet is adopted as the backbone network, which significantly reduces computational complexity. Second, a feature fusion neck with the C3k2_SN module is designed. The module adopts star-shaped cross-stage partial convolution, which efficiently utilizes parameters while enhancing the capability of feature expression. Finally, an LSCD lightweight shared convolutional head is constructed, and the PIoUv2 loss function is introduced to finely optimize bounding box localization, further compressing the parameters of the detection head and optimizing predictions. Experimental results show that when tested on the public dataset SHWD (Safety Helmet Wearing Dataset), the precision of the improved model reaches 93.4%. Compared with the original model, its parameter count is reduced by 32.8%, Giga Floating-Point Operations (GFLOPs) decrease by 34.8%, and average precision (AP) increases by 1.4%. The model balances high detection performance and real-time requirements, making it more suitable for deployment and application in actual production environments.
文章引用:向德怀. 基于YOLO v11的轻量化安全帽佩戴检测算法[J]. 软件工程与应用, 2025, 14(6): 1231-1245. https://doi.org/10.12677/sea.2025.146109

参考文献

[1] 李卉, 张云波, 祁神军. 建筑施工坍塌事故致因分析及对策[J]. 建筑经济, 2018, 39(8): 53-57.
[2] 叶贵, 李学征, 杨丽萍, 等. 建筑工人不安全行为量化分类研究[J]. 安全与环境学报, 2021, 21(6): 2617-2627.
[3] 高腾, 张先武, 李柏. 深度学习在安全帽佩戴检测中的应用研究综述[J]. 计算机工程与应用, 2023, 59(6): 13-29.
[4] Dong, C., Pang, C., Li, Z., Zeng, X. and Hu, X. (2022) PG-YOLO: A Novel Lightweight Object Detection Method for Edge Devices in Industrial Internet of Things. IEEE Access, 10, 123736-123745. [Google Scholar] [CrossRef
[5] Wang, L., Zhang, X. and Yang, H. (2023) Safety Helmet Wearing Detection Model Based on Improved YOLO-M. IEEE Access, 11, 26247-26257. [Google Scholar] [CrossRef
[6] Han, D., Ying, C., Tian, Z., Dong, Y., Chen, L., Wu, X., et al. (2024) YOLOv8s-SNC: An Improved Safety-Helmet-Wearing Detection Algorithm Based on YOLOv8. Buildings, 14, Article No. 3883. [Google Scholar] [CrossRef
[7] Fan, Z., Wu, Y., Liu, W., Chen, M. and Qiu, Z. (2024) Lg-yolov8: A Lightweight Safety Helmet Detection Algorithm Combined with Feature Enhancement. Applied Sciences, 14, Article No. 10141. [Google Scholar] [CrossRef
[8] Lin, B. (2024) Yolov8n-asf-dh: An Enhanced Safety Helmet Detection Method. IEEE Access, 12, 126313-126328. [Google Scholar] [CrossRef
[9] Du, Q., Zhang, S. and Yang, S. (2024) BLP-YOLOv10: Efficient Safety Helmet Detection for Low-Light Mining. Journal of Real-Time Image Processing, 22, Article No. 10. [Google Scholar] [CrossRef
[10] Hidayatullah, P., Syakrani, N., Sholahuddin, M.R., Gelar, T. and Tubagus, R. (2025) YOLOv8 to YOLO11: A Com-prehensive Architecture In-Depth Comparative Review.
[11] Khanam, R. and Hussain, M. (2024) Yolov11: An Overview of the Key Architectural Enhancements.