现代信息科技2026,Vol.10Issue(3):57-62,6.DOI:10.19850/j.cnki.2096-4706.2026.03.012
基于改进YOLOv8n模型的隧道裂缝检测算法研究
Research on Tunnel Crack Detection Algorithm Based on Improved YOLOv8n Model
摘要
Abstract
With the continuous aging of tunnel structures,tunnel crack detection is of great significance for ensuring the safe operation of tunnels.Aiming at the environmental characteristics of extremely low illumination,low contrast,and high noise in tunnels,this paper proposes a tunnel crack detection method based on the improved YOLOv8n model.Firstly,the attention mechanism module is introduced into the backbone network to enhance the feature extraction capability of the model and the attention to key information,reduce the influence of irrelevant background,and improve the robustness of the neural network.Secondly,aiming at the complex shape changes of cracks,the deformable convolution module DCNv2 is added to the neck structure to flexibly deal with targets of different scales and improve detection accuracy.Finally,the Shape-IoU loss function is introduced to promote more accurate target positioning and improve the overall detection efficiency and accuracy.Experiments show that the improved model reaches 0.919 and 0.860 in mean Average Precision(mAP)and F1-score respectively,which are improved by 2.57%and 3.61%compared with the original YOLOv8n model,and can effectively meet the actual needs of tunnel crack detection.关键词
YOLOv8/隧道裂缝识别/注意力机制/可变形卷积/Shape-IoUKey words
YOLOv8/tunnel crack identification/Attention Mechanism/deformable convolution/Shape-IoU分类
信息技术与安全科学引用本文复制引用
王微,逯洋..基于改进YOLOv8n模型的隧道裂缝检测算法研究[J].现代信息科技,2026,10(3):57-62,6.基金项目
吉林省科技发展项目(重点研发)"工业废水中重金属污染物减量化处理技术与应用"(20240304097SF) (重点研发)