基于改进YOLOv5的砖石建筑裂缝检测方法

Crack detection method of masonry building based on improved YOLOv5

  • 摘要: 砖石建筑极易出现裂缝,严重威胁建筑寿命和人民生命财产安全,因此,裂缝检测是建筑维护的重要基础。为了提升砖石建筑裂缝的检测精度,应用YOLOv5s的改进方法。将SPD-Conv引入到骨干网络中,提高细粒度特征的检测能力;使用BiFPN并结合CoordinateAttention模块来代替YOLOv5的特征融合网络,提升检测精度;使用SIoULoss来代替原有损失函数,改善在复杂环境下检测不佳的情况。在砖石建筑裂缝数据集上的实验结果表明,所提方法的平均均值精度(mAP@0.5)达到96.0%,比原YOLOv5s提高了4.0百分点,比2023年提出的YOLOv8s提高了2.0百分点,可以有效地检测砖石建筑裂缝。

     

    Abstract: Masonry buildings are prone to cracks, which seriously threaten the life of buildings and the safety of people's lives and property. Therefore, crack detection is an important basis for building maintenance. In order to improve the detection accuracy of masonry building cracks, the improved method of YOLOv5s is applied in this paper. The SPD-Conv was introduced into the backbone network to improve the detection ability of fine-grained features. The BiFPN combined Coordinate Attention module was used to replace the feature fusion network of YOLOv5, which improved the detection accuracy. SIoU Loss is used to replace the original loss function to improve poor detection in complex environments. Experimental results on the crack dataset of masonry buildings show that the proposed method has an average mean accuracy of 96.0% (mAP@0.5), which is 4.0 percentage points higher than that of the original YOLOv5s and 2.0 percentage points higher than that of the YOLOv8s proposed in 2023, and can effectively detect cracks in masonry buildings.

     

/

返回文章
返回