Xing Yan, Han Xu, Pan Xiaodong, An Dong, Liu Weidong, Bai Yuanshen
School of Transportation and Surveying Engineering, Shenyang Jianzhu University, Shenyang, Liaoning, China.
Shenyang Boyan Intelligent Transportation Technology Co., Ltd., Shenyang, Liaoning, China.
Front Neurorobot. 2024 Jul 2;18:1423738. doi: 10.3389/fnbot.2024.1423738. eCollection 2024.
Road cracks significantly shorten the service life of roads. Manual detection methods are inefficient and costly. The YOLOv5 model has made some progress in road crack detection. However, issues arise when deployed on edge computing devices. The main problem is that edge computing devices are directly connected to sensors. This results in the collection of noisy, poor-quality data. This problem adds computational burden to the model, potentially impacting its accuracy. To address these issues, this paper proposes a novel road crack detection algorithm named EMG-YOLO.
First, an Efficient Decoupled Header is introduced in YOLOv5 to optimize the head structure. This approach separates the classification task from the localization task. Each task can then focus on learning its most relevant features. This significantly reduces the model's computational resources and time. It also achieves faster convergence rates. Second, the IOU loss function in the model is upgraded to the MPDIOU loss function. This function works by minimizing the top-left and bottom-right point distances between the predicted bounding box and the actual labeled bounding box. The MPDIOU loss function addresses the complex computation and high computational burden of the current YOLOv5 model. Finally, the GCC3 module replaces the traditional convolution. It performs global context modeling with the input feature map to obtain global context information. This enhances the model's detection capabilities on edge computing devices.
Experimental results show that the improved model has better performance in all parameter indicators compared to current mainstream algorithms. The EMG-YOLO model improves the accuracy of the YOLOv5 model by 2.7%. The mAP (0.5) and mAP (0.9) are improved by 2.9% and 0.9%, respectively. The new algorithm also outperforms the YOLOv5 model in complex environments on edge computing devices.
The EMG-YOLO algorithm proposed in this paper effectively addresses the issues of poor data quality and high computational burden on edge computing devices. This is achieved through optimizing the model head structure, upgrading the loss function, and introducing global context modeling. Experimental results demonstrate significant improvements in both accuracy and efficiency, especially in complex environments. Future research can further optimize this algorithm and explore more lightweight and efficient object detection models for edge computing devices.
道路裂缝显著缩短道路使用寿命。人工检测方法效率低下且成本高昂。YOLOv5模型在道路裂缝检测方面取得了一些进展。然而,在边缘计算设备上部署时会出现问题。主要问题是边缘计算设备直接连接到传感器。这导致收集到噪声大、质量差的数据。这个问题给模型增加了计算负担,可能影响其准确性。为解决这些问题,本文提出一种名为EMG-YOLO的新型道路裂缝检测算法。
首先,在YOLOv5中引入高效解耦头以优化头部结构。这种方法将分类任务与定位任务分离。然后每个任务可以专注于学习其最相关的特征。这显著减少了模型的计算资源和时间。它还实现了更快的收敛速度。其次,将模型中的交并比损失函数升级为MPDIOU损失函数。该函数通过最小化预测边界框与实际标注边界框之间的左上角和右下角点距离来工作。MPDIOU损失函数解决了当前YOLOv5模型复杂的计算和高计算负担问题。最后,GCC3模块取代传统卷积。它对输入特征图进行全局上下文建模以获得全局上下文信息。这增强了模型在边缘计算设备上的检测能力。
实验结果表明,与当前主流算法相比,改进后的模型在所有参数指标上具有更好的性能。EMG-YOLO模型将YOLOv5模型的准确率提高了2.7%。平均精度均值(0.5)和平均精度均值(0.9)分别提高了2.9%和0.9%。新算法在边缘计算设备的复杂环境中也优于YOLOv5模型。
本文提出的EMG-YOLO算法有效解决了边缘计算设备上数据质量差和计算负担高的问题。这是通过优化模型头部结构、升级损失函数和引入全局上下文建模来实现的。实验结果表明在准确性和效率方面都有显著提高,特别是在复杂环境中。未来的研究可以进一步优化该算法,并探索更轻量级、高效的边缘计算设备目标检测模型。