Surface defect detection algorithm for special-shaped electronic components based on improved RT-DETR

Authors

  • Shugang Liu
  • Shang Shi
  • Jie Wu

DOI:

https://doi.org/10.54097/q2xhcb58

Keywords:

Detection of irregular-shaped electronic components, RT-DETR, Object detection, Data augmentation

Abstract

The detection of surface defects of special-shaped electronic components is a key link to improve the level of insertion technology of special-shaped plug-in machines. Traditional manual detection is susceptible to human subjectivity, the efficiency of template matching algorithm is low, and in the case of insufficient sample data, the existing deep learning technology has problems such as low accuracy and insufficient real-time performance in defect detection. In order to improve the accuracy and real-time performance of special-shaped component detection, this paper improves the object detection model RT-DETR and proposes a real-time multi-dimensional feature adaptive network (RT-MDAFNet): Firstly, the Adaptive Fusion Pyramid Network (AFPN) is designed at the feature fusion layer of the model, and the adaptability and feature extraction ability of the model to multi-scale targets are improved through the dynamic channel attention mechanism and selective feature fusion mechanism. Then, the adaptive channel-spatial aggregation network module (SASE-RepNet) was designed to improve the detection accuracy and efficiency in complex backgrounds by combining multi-level feature aggregation, channel adaptive weight allocation and spatial selectivity enhancement mechanism. In the absence of existing datasets, a dataset of special-shaped electronic components was constructed, and the RT-MDAFNet model was compared with 8 baseline models, including DETR, Faster R-CNN, YOLO series, etc.

Downloads

Download data is not yet available.

References

[1] Wang Xueqi. Research on visual inspection and positioning technology of special-shaped electronic component plug-in machine[D]. Hunan: Hunan University, 2019. WANG X R Q.esearch on visual inspection and positioning technology of alien electronic component plug-in machine[D]. Hunan: Hunan University, 2019.

[2] Wang Qianqian. Research on insertion and positioning technology of special-shaped components based on machine vision[D]. Harbin: Harbin University of Science and Technology, 2019. WANG Q Q. Research on installation and location technology of special-shaped components based on machine vision[D]. Harbin: Harbin University of Science and Technology, 2019.

[3] Zhou Yang. Research on visual inspection and positioning technology of special-shaped component plug-in system[D]. Wuhan: Wuhan Textile University, 2023. ZHOU Y. Research on visual inspection and positioning technology of special-shaped component plug-in system [D]. Wuhan: Wuhan Textile University, 2023.

[4] Wang Yuan. Research on key technologies of visual inspection and positioning of special-shaped plug-in system [D]. Mianyang: Southwest University of Science and Technology, 2017. WANG Y. Vision inspection and positioning key techniques research of irregular component plug-in machine [D].Mianyang: Southwest University of Science and Technology, 2017.

[5] Gao Zong. Research on quality inspection technology of electronic components based on machine vision[D]. Guiyang: Guizhou University, 2018. GAO Z. Research on quality inspection technology of electronic components based on machine vision[D]. Guiyang: Guizhou University, 2018.

[6] Zeng Yao, Gao Faqin. Surface Defect Detection Algorithm for Electronic Components Based on Improved YOLOv5[J]. Journal of ZheJiang University (Engineering Science) ,2023,57 ( 3) : 455-465. ZENG Y, GAO F Q. Surface defect detection algorithm of electronic components based on improved YOLOv5[J]. Journal of Zhejiang University ( Engineering Science ) , 2003, 57( 3) : 455-465.

[7] HAN K, WANG Y H, TIAN Q, et al. Ghostnet: more features from cheap operations[C]// Proceedings of the IEEE /CVF Conference on Computer Vision and Pattern Recognition. Los Alamitos: IEEE, 2020: 1580-1589.

[8] Wang Haonan. Research on electronic component detection and grasping system based on machine vision[D]. Taiyuan: Taiyuan University of Science and Technology, 2023. WANG H N. Research on the detection and gripping system of electronic components based on machine vision [D]. Taiyuan: Taiyuan University of Science and Technology, 2023.

Downloads

Published

20-08-2025

Issue

Section

Articles

How to Cite

Liu, S., Shi, S., & Wu, J. (2025). Surface defect detection algorithm for special-shaped electronic components based on improved RT-DETR. Computer Life, 13(2), 48-51. https://doi.org/10.54097/q2xhcb58