YOLO-EF: A lightweight YOLOv7 PCB defect detection algorithm
Abstract This study addresses the challenge of accurate PCB defect detection, considering the computational complexity and excessive model parameters associated with existing methods. To mitigate these issues, we propose an enhanced PCB surface defect detection method called YOLO-EF, which is built upon the YOLOv7 architecture. Firstly, we replace the backbone of YOLOv7 with the lightweight Efficient FormerV2 module. This replacement reduces both the model volume and computational requirements. Secondly, the dynamic head module is introduced to unify the target detection head and improve its performance. Finally, the Wise-IoUv3 function is used to suppress the influence of low-quality samples on the model performance. The experimental results show that the proposed model improves by 2.85% in mAP over the original model. Model computation is reduced from 106.5 GFLOPs to 44.3 GFLOPs. Our YOLO-EF model achieves an optimal balance in terms of precision, computational efficiency, and detection speed.
Authors
- Changxian Li (ORCID: https://orcid.org/0000-0002-2291-604X)
- Xudong Song
- Chen Yu
- Liang Song (ORCID: https://orcid.org/0000-0003-4251-3798)
Institutions
- Dalian Jiaotong University (CN)
Publication Details
- Journal
- Journal of Physics Conference Series
- Published
- 2024-10-01
- DOI
- https://doi.org/10.1088/1742-6596/2858/1/012003
- Primary Topic
- Industrial Vision Systems and Defect Detection
- Type
- article
- Field-Weighted Citation Impact
- 0.00