Global contextual attention augmented YOLO with ConvMixer prediction heads for PCB surface defect detection
Open Access
- 16 June 2023
- journal article
- research article
- Published by Springer Nature in Scientific Reports
- Vol. 13 (1) , 1-16
Abstract
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.Keywords
Funding Information
- Innovation Program for Master Students of Chongqing University of Science and Technology (YKJCX2120317, YKJCX2220329, YKJCX2220325)
- National Natural Science Foundation of China (51705053)
- Chongqing Talents Program Innovation and Entrepreneurship Demonstration Team (CQYC201903230)
- Chongqing Research Program of Basic Research and Frontier Technology (CSTC2019jcyj-msxmX0720, CSTB2022nscq-LZX0052)
- Science and Technology Research Program of Chongqing Municipal Education Commission (KJZD-K201901503, KJZD-M202201501)
This publication has 41 references indexed in Scilit:
- An efficient similarity measure approach for PCB surface defect detectionPattern Analysis and Applications, 2017
- Feature Pyramid Networks for Object Detection2017
- R-CNN for Small Object Detection2017
- SSD: Single Shot MultiBox Detector2016
- Contextual Priming and Feedback for Faster R-CNN2016
- A Unified Multi-scale Deep Convolutional Neural Network for Fast Object Detection2016
- A random forest guided tourTEST, 2016
- Fast R-CNN2015
- Decision trees: a recent overviewArtificial Intelligence Review, 2011
- 80 Million Tiny Images: A Large Data Set for Nonparametric Object and Scene RecognitionIEEE Transactions on Pattern Analysis and Machine Intelligence, 2008