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 条
  • [31] Defect detection for PCB by combining shallow features and attention mechanism
    Liao X.
    Zhang J.
    Lyu S.
    Jisuanji Jicheng Zhizao Xitong/Computer Integrated Manufacturing Systems, CIMS, 2024, 30 (03): : 1092 - 1104
  • [32] SMC-YOLO: Surface Defect Detection of PCB Based on Multi-Scale Features and Dual Loss Functions
    Kong, Wei-Bin
    Zhang, Zhi-Fei
    Zhang, Ting-Lin
    Wang, Lei
    Cheng, Zi-Yao
    Zhou, Mo
    IEEE ACCESS, 2024, 12 : 137667 - 137682
  • [33] GRA-Net: Global receptive attention network for surface defect detection
    Xiao, Meng
    Yang, Bo
    Wang, Shilong
    Mo, Fan
    He, Yan
    Gao, Yifan
    KNOWLEDGE-BASED SYSTEMS, 2023, 280
  • [34] GDALR: Global Dual Attention and Local Representations in transformer for surface defect detection
    Zhou, Xin
    Zhou, Shihua
    Zhang, Yongchao
    Ren, Zhaohui
    Jiang, Zeyu
    Luo, Hengfa
    MEASUREMENT, 2024, 229
  • [35] Global attention module and cascade fusion network for steel surface defect detection☆ ☆
    Liu, Guanghu
    Chu, Maoxiang
    Gong, Rongfen
    Zheng, Zehao
    PATTERN RECOGNITION, 2025, 158
  • [36] Global attention module and cascade fusion network for steel surface defect detection
    Liu, Guanghu
    Chu, Maoxiang
    Gong, Rongfen
    Zheng, Zehao
    PATTERN RECOGNITION, 2025, 158
  • [37] Global attention module and cascade fusion network for steel surface defect detection
    Liu, Guanghu
    Chu, Maoxiang
    Gong, Rongfen
    Zheng, Zehao
    Pattern Recognition, 2025, 158
  • [38] Global contextual attention for pure regression object detection
    Bingbing Fan
    Mingwen Shao
    Yunhao Li
    Cunhe Li
    International Journal of Machine Learning and Cybernetics, 2022, 13 : 2189 - 2197
  • [39] Global contextual attention for pure regression object detection
    Fan, Bingbing
    Shao, Mingwen
    Li, Yunhao
    Li, Cunhe
    INTERNATIONAL JOURNAL OF MACHINE LEARNING AND CYBERNETICS, 2022, 13 (08) : 2189 - 2197
  • [40] An Adaptive Defect-Aware Attention Network for Accurate PCB-Defect Detection
    Liu, Xiang
    IEEE TRANSACTIONS ON INSTRUMENTATION AND MEASUREMENT, 2024, 73