GM-DETR: Research on a Defect Detection Method Based on Improved DETR

被引:3
|
作者
Liu, Xin [1 ]
Yang, Xudong [1 ]
Shao, Lianhe [1 ]
Wang, Xihan [1 ]
Gao, Quanli [1 ]
Shi, Hongbo [2 ]
机构
[1] Xian Polytech Univ, State & Local Joint Engn Res Ctr Adv Networking &, Sch Comp Sci, Xian 710048, Peoples R China
[2] Shaanxi Prov Inst Water Resources & Elect Power In, Xian 710001, Peoples R China
关键词
transformer; DETR; GAM; defect detection; REAL-TIME DETECTION; SURFACE-DEFECTS;
D O I
10.3390/s24113610
中图分类号
O65 [分析化学];
学科分类号
070302 ; 081704 ;
摘要
Defect detection is an indispensable part of the industrial intelligence process. The introduction of the DETR model marked the successful application of a transformer for defect detection, achieving true end-to-end detection. However, due to the complexity of defective backgrounds, low resolutions can lead to a lack of image detail control and slow convergence of the DETR model. To address these issues, we proposed a defect detection method based on an improved DETR model, called the GM-DETR. We optimized the DETR model by integrating GAM global attention with CNN feature extraction and matching features. This optimization process reduces the defect information diffusion and enhances the global feature interaction, improving the neural network's performance and ability to recognize target defects in complex backgrounds. Next, to filter out unnecessary model parameters, we proposed a layer pruning strategy to optimize the decoding layer, thereby reducing the model's parameter count. In addition, to address the issue of poor sensitivity of the original loss function to small differences in defect targets, we replaced the L1 loss in the original loss function with MSE loss to accelerate the network's convergence speed and improve the model's recognition accuracy. We conducted experiments on a dataset of road pothole defects to further validate the effectiveness of the GM-DETR model. The results demonstrate that the improved model exhibits better performance, with an increase in average precision of 4.9% (mAP@0.5), while reducing the parameter count by 12.9%.
引用
收藏
页数:24
相关论文
共 50 条
  • [1] Research on robot riveting defect detection method based on improved DETR
    Li Z.
    Song Q.
    Du Y.
    Chen Y.
    Journal of Railway Science and Engineering, 2024, 21 (04) : 1690 - 1700
  • [2] Research on Rail Defect Recognition Method Based on Improved RT-DETR Model
    Liu, Yue
    Cao, Yuan
    Sun, Yongkui
    2024 5TH INTERNATIONAL CONFERENCE ON COMPUTER ENGINEERING AND APPLICATION, ICCEA 2024, 2024, : 1464 - 1468
  • [3] Optimizing Insulator Defect Detection with Improved DETR Models
    Li, Dong
    Yang, Panfei
    Zou, Yuntao
    MATHEMATICS, 2024, 12 (10)
  • [4] Improved object detection method for autonomous driving based on DETR
    Zhao, Huaqi
    Zhang, Songnan
    Peng, Xiang
    Lu, Zhengguang
    Li, Guojing
    FRONTIERS IN NEUROROBOTICS, 2025, 18
  • [5] DSRA-DETR: An Improved DETR for Multiscale Traffic Sign Detection
    Xia, Jiaao
    Li, Meijuan
    Liu, Weikang
    Chen, Xuebo
    SUSTAINABILITY, 2023, 15 (14)
  • [6] IST-DETR: Improved DETR for Infrared Small Target Detection
    Zhao, Li
    Wang, Jianlong
    Chen, Yunhao
    Yin, Qian
    Rong, Guyao
    Zhou, Sida
    Tang, Jianing
    IEEE ACCESS, 2024, 12 : 164303 - 164314
  • [7] LSH-DETR: object detection algorithm for marine benthic organisms based on improved DETR
    Wu, Shuang
    Liu, Yong
    Li, Sha
    Zhang, Shoujiang
    JOURNAL OF ELECTRONIC IMAGING, 2022, 31 (06)
  • [8] An improved defect recognition framework for casting based on DETR algorithm
    Zhang, Long
    Yan, Sai-fei
    Hong, Jun
    Xie, Qian
    Zhou, Fei
    Ran, Song-lin
    JOURNAL OF IRON AND STEEL RESEARCH INTERNATIONAL, 2023, 30 (05) : 949 - 959
  • [9] An improved defect recognition framework for casting based on DETR algorithm
    Long Zhang
    Sai-fei Yan
    Jun Hong
    Qian Xie
    Fei Zhou
    Song-lin Ran
    Journal of Iron and Steel Research International, 2023, 30 : 949 - 959
  • [10] Steel surface defect detection based on the lightweight improved RT-DETR algorithm
    Mao, Haojie
    Gong, Yongwang
    JOURNAL OF REAL-TIME IMAGE PROCESSING, 2025, 22 (01)