Global contextual attention augmented YOLO with ConvMixer prediction heads for PCB surface defect detection

被引:30
|
作者
Xia, Kewen [1 ]
Lv, Zhongliang [1 ]
Liu, Kang [1 ]
Lu, Zhenyu [1 ]
Zhou, Chuande [1 ]
Zhu, Hong [1 ]
Chen, Xuanlin [1 ]
机构
[1] Chongqing Univ Sci & Technol, Sch Mech & Power Engn, Chongqing, Peoples R China
来源
SCIENTIFIC REPORTS | 2023年 / 13卷 / 01期
基金
中国国家自然科学基金;
关键词
D O I
10.1038/s41598-023-36854-2
中图分类号
O [数理科学和化学]; P [天文学、地球科学]; Q [生物科学]; N [自然科学总论];
学科分类号
07 ; 0710 ; 09 ;
摘要
To solve the problem of missed and false detection caused by the large number of tiny targets and complex background textures in a printed circuit board (PCB), we propose a global contextual attention augmented YOLO model with ConvMixer prediction heads (GCC-YOLO). In this study, we apply a high-resolution feature layer (P2) to gain more details and positional information of small targets. Moreover, in order to suppress the background noisy information and further enhance the feature extraction capability, a global contextual attention module (GC) is introduced in the backbone network and combined with a C3 module. Furthermore, in order to reduce the loss of shallow feature information due to the deepening of network layers, a bi-directional weighted feature pyramid (BiFPN) feature fusion structure is introduced. Finally, a ConvMixer module is introduced and combined with the C3 module to create a new prediction head, which improves the small target detection capability of the model while reducing the parameters. Test results on the PCB dataset show that GCC-YOLO improved the Precision, Recall, mAP@0.5, and mAP@0.5:0.95 by 0.2%, 1.8%, 0.5%, and 8.3%, respectively, compared to YOLOv5s; moreover, it has a smaller model volume and faster reasoning speed compared to other algorithms.
引用
收藏
页数:16
相关论文
共 50 条
  • [21] YOLO-GCRS: A Remote Sensing Image Object Detection Algorithm Incorporating a Global Contextual Attention Mechanism
    Liao, Huan
    Zhu, Wenqiu
    ELECTRONICS, 2023, 12 (20)
  • [22] SF-YOLO: designed based on tiny feature for PCB surface defect detection and deployment in embedded systems
    Zhang, Kaikai
    Wang, Yanyan
    Shi, Shengzhe
    Wang, Qingqing
    Chen, Xinying
    Zhang, Zhao
    Wang, Chun
    Liu, Sheng
    SIGNAL IMAGE AND VIDEO PROCESSING, 2025, 19 (03)
  • [23] Road Surface Defect Detection Based on Partial Convolution and Global Attention
    Xie, Xiaoneng
    INTERNATIONAL JOURNAL OF PAVEMENT RESEARCH AND TECHNOLOGY, 2024,
  • [24] Steel surface defect detection based on sparse global attention transformer
    Li, Yinghao
    Han, Zhiyong
    Wang, Wenmeng
    Xu, Heping
    Wei, Yongpeng
    Zai, Guangjun
    PATTERN ANALYSIS AND APPLICATIONS, 2024, 27 (04)
  • [25] Lightweight PCB Surface Defect Detection Algorithm
    Zhang G.
    Chen T.
    Wang J.
    Yang K.
    Beijing Youdian Daxue Xuebao/Journal of Beijing University of Posts and Telecommunications, 2024, 47 (02): : 38 - 44
  • [26] Metal Surface Defect Detection Using Modified YOLO
    Xu, Yiming
    Zhang, Kai
    Wang, Li
    ALGORITHMS, 2021, 14 (09)
  • [27] Local and Global Context-Enhanced Lightweight CenterNet for PCB Surface Defect Detection
    Chen, Weixun
    Meng, Siming
    Wang, Xueping
    SENSORS, 2024, 24 (14)
  • [28] PCB surface defect fast detection method based on attention and multi-source fusion
    Zhao, Qian
    Ji, Tangyu
    Liang, Shuang
    Yu, Wentao
    MULTIMEDIA TOOLS AND APPLICATIONS, 2023, 83 (2) : 5451 - 5472
  • [29] PCB surface defect fast detection method based on attention and multi-source fusion
    Qian Zhao
    Tangyu Ji
    Shuang Liang
    Wentao Yu
    Multimedia Tools and Applications, 2024, 83 : 5451 - 5472
  • [30] A Lightweight Modified YOLOX Network Using Coordinate Attention Mechanism for PCB Surface Defect Detection
    Wang Xuan
    Gao Jian-She
    Hou Bo-Jie
    Wang Zong-Shan
    Ding Hong-Wei
    Wang Jie
    IEEE SENSORS JOURNAL, 2022, 22 (21) : 20910 - 20920