吉林大学学报(理学版) ›› 2025, Vol. 63 ›› Issue (4): 1091-1098.

• • 上一篇    下一篇

基于改进YOLOx-s的无人机桥梁裂缝检测算法

徐伟峰1,2, 吕航1, 程子益1, 陆安文1, 王洪涛1,2, 王晏如3, 李昇1   

  1. 1. 华北电力大学(保定) 计算机系, 河北 保定 071003; 2. 河北省能源电力知识计算重点实验室, 河北 保定 071003;
    3. 吉林大学 经济学院, 长春 130012
  • 收稿日期:2024-05-10 出版日期:2025-07-26 发布日期:2025-07-26
  • 通讯作者: 程子益 E-mail:ziyic1998@163.com

Bridge Crack Detection Algorithm for  Unmanned Aerial Vehicle Based on Improved YOLOx-s

XU Weifeng1,2, LV Hang1, CHENG Ziyi1, LU Anwen1, WANG Hongtao1,2, WANG Yanru3, LI Sheng1   

  1. 1. Department of Computer, North China Electric Power University (Baoding), Baoding 071003, Hebei Province, China;
    2. Key Laboratory of Energy and Electric Power Knowledge Calculation in Hebei Province, Baoding 071003, Hebei Province, China; 
    3. School of Economics, Jilin University, Changchun 130012, China
  • Received:2024-05-10 Online:2025-07-26 Published:2025-07-26

摘要: 针对桥梁裂缝检测不充分的安全隐患问题, 结合小型无人机平台提出一种基于YOLOx-s的桥梁裂缝检测算法. 首先, 在backbone中添加残差空洞卷积模块, 以解决无人机图像尺度变化大、 背景复杂的问题; 其次, 在PANET中添加坐标注意力机制模块, 以提高小目标检测率; 最后, 替换损失函数为Focal loss, 以加强正样本的学习, 提高模型的稳定性. 实验结果表明: 该方法相比于YOLOx-s算法, 检测精度提升了3.72个百分点; 在嵌入式设备上, 该方法比其他主流算法有更好的精度, 且能实现实时性检测, 可以更好地应用在无人机桥梁裂缝检测中. 

关键词: 无人机, 桥梁裂缝检测, 目标检测, YOLOx-s算法, 注意力机制

Abstract: Aiming at the problem of safety hazards of insufficient bridge crack detection, we  proposed a bridge crack detection algorithm based on YOLOx-s, combined with a small unmanned aerial vehicle platform. Firstly, we added a residual hole convolution module in  the backbone to solve the problem of   large scale changes and complex backgrounds in drone images. Secondly, we added a coordinate attention mechanism module in  PANET to improve the detection rate of small targets. Finally, we replaced the loss function with Focal loss to enhance the learning of positive samples and improve the stability of the model.  The experimental results show that compared with the YOLOx-s algorithm, the proposed method improves detection accuracy by 3.72 percentage points. On embedded devices, this method has better accuracy than other mainstream algorithms and can achieve real-time detection, which can be better applied in bridge crack detection for unmanned aerial vehicle.

Key words: unmanned aerial vehicle (UAV), bridge crack detection, object detection, YOLOx-s algorithm, attention mechanism

中图分类号: 

  • TP391.4