Yang Jiexiang, Tian Renjie, Zhou Zexing, Tan Xingyue, He Pingyang
School of Information Science and Engineering, Chongqing Jiaotong University, Chongqing, China.
Institute of Computer Vision and Traffic Image Understanding, School of Information Science and Engineering, Chongqing Jiaotong University, Chongqing, China.
PLoS One. 2025 Jun 16;20(6):e0325993. doi: 10.1371/journal.pone.0325993. eCollection 2025.
Road crack detection is critical to global infrastructure maintenance and public safety, and complex background environments and nonlinear damage crack patterns challenge the need for real-time, efficient, and accurate detection.This paper proposes a lightweight yet robust Flexi-YOLO model based on the YOLOv8 algorithm. We designed Wise-IoU as the model's loss function to optimize the regression accuracy of its bounding boxes and enhance robustness to low-quality samples. The DCNv-C2f module is constructed for the transformation and fusion of feature information, allowing the convolutional kernels to adapt to the complex shape characteristics of cracks dynamically. A Global Attention Module (GAM) is integrated to improve the model's perception of global information. The AKConv convolution operation is employed to adaptively adjust the size of convolutions, further enhancing local feature capturing. Additionally, a lightweight network design is implemented, establishing G-Head (Ghost-Head) as the detection head to optimize the issue of feature redundancy. Experimental results show that Flexi-YOLO achieves an accuracy increase of 2.7% over YOLOv8n, a recall rate rise of 4.7%, a mAP improvement of 5.3%, a mAP@0.5-0.95 increase of 3.9%, a decrease of 0.5 in GFLOPS, and an F1 score improvement from 0.80 to 0.84. Flexi-YOLO offers higher detection accuracy and robustness and meets the industrial demands for lightweight real-time detection and lower application costs, providing an efficient and precise solution for the automated detection of road cracks.
道路裂缝检测对于全球基础设施维护和公共安全至关重要,复杂的背景环境和非线性损伤裂缝模式对实时、高效和准确检测提出了挑战。本文提出了一种基于YOLOv8算法的轻量级但强大的Flexi-YOLO模型。我们设计了Wise-IoU作为模型的损失函数,以优化其边界框的回归精度,并增强对低质量样本的鲁棒性。构建了DCNv-C2f模块用于特征信息的变换和融合,使卷积核能够动态适应裂缝的复杂形状特征。集成了全局注意力模块(GAM)以提高模型对全局信息的感知能力。采用AKConv卷积操作自适应调整卷积大小,进一步增强局部特征捕捉能力。此外,实施了轻量级网络设计,将G-Head(Ghost-Head)作为检测头,以优化特征冗余问题。实验结果表明,Flexi-YOLO比YOLOv8n的准确率提高了2.7%,召回率提高了4.7%,mAP提高了5.3%,mAP@0.5-0.95提高了3.9%,GFLOPS降低了0.5,F1分数从0.80提高到0.84。Flexi-YOLO具有更高的检测精度和鲁棒性,满足了工业对轻量级实时检测和更低应用成本的需求,为道路裂缝的自动检测提供了高效精确的解决方案。