EMAFG-RTDETR: An Improved RTDETR Algorithm for UAV-Based Concrete Defect Detection
To address the challenges of varying scales of concrete defects, class imbalance, and hardware limitations, we propose EMAFG-RTDETR, a UAV-based concrete defect detection algorithm built upon RTDETR. In the feature extraction stage, a lightweight multi-scale attention feature extraction module (EMA-PRepFaster block) is designed, where PConv and RepConv are fused to improve the FasterNet block. At the same time, an Efficient Multi-scale Attention (EMA) module is introduced to enhance spatial feature extraction while reducing computational redundancy. For feature fusion, the Gather-and-Distribute mechanism of GOLD-YOLO is adopted to improve the fusion of multi-scale features. The introduction of Powerful-IoU v2 not only accelerates the training process but also enhances the model’s ability to capture defects of different sizes. To handle the issue of sample imbalance, a novel classification loss function, EMASVLoss, is proposed. This function adjusts classification loss values through piecewise weighting and integrates an exponential moving average mechanism for dynamic weight smoothing, improving model adaptability. Finally, the algorithm was deployed and validated on an octocopter UAV developed by our team. Experimental results demonstrate that EMAFG-RTDETR achieves a 2.5% improvement in mean Average Precision ([email protected]), reaching 90% on the concrete defect dataset, with reductions in both parameter size and computational cost. Moreover, the UAV equipped with the proposed algorithm can accurately detect cracks and spalling defects on concrete surfaces, validating the effectiveness of the improved model.
Authors
- Jinlong Yang (ORCID: https://orcid.org/0000-0001-9548-4236)
- Xin Zhou (ORCID: https://orcid.org/0000-0001-5059-9363)
- Jiayuan Luo (ORCID: https://orcid.org/0000-0003-4395-3357)
- Shaojiang Dong
- Cai Chen
- Kaibo Yan
- Jun Luo
- Shizheng Sun
Institutions
- China Automotive Engineering Research Institute (CN)
- Chongqing Jiaotong University (CN)
Publication Details
- Journal
- Drones
- Published
- 2025-12-23
- DOI
- https://doi.org/10.3390/drones10010006
- Primary Topic
- Infrastructure Maintenance and Monitoring
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Chongqing Municipal Education Commission
- Centre Scientifique et Technique du Bâtiment