A lightweight surface defect detection framework combined with dual-domain attention mechanism
Jun Tang,Zidong Wang,Hongyi Zhang,Han Li,Peishu Wu,Nianyin Zeng
DOI: https://doi.org/10.1016/j.eswa.2023.121726
IF: 8.5
2023-10-06
Expert Systems with Applications
Abstract:In this paper, a lightweight printed circuit board (PCB) defects detection model (light-PDD) is proposed, which mainly concentrates on overcoming the deficiencies of redundant parameters and slow inference speed in most existing methods. In particular, overall framework of the proposed light-PDD has followed the YOLOv4 model with further enhancement, and the backbone part adopts a pruned MobileNetV3 structure for feature extraction, where a dual-domain attention mechanism is designed and diverse activation functions are employed so that the model can effectively handle the difficulties in detecting tiny-size PCB defects. Moreover, the improved cross-stage partial structure is deployed for feature fusion , which removes redundant parameters and avoids duplication of gradient information so as to reduce the model complexity. Extensive experiments on public PCB defect datasets have demonstrated the superiority of the proposed light-PDD, which outperforms several other advanced algorithms in terms of realizing the balance between inference speed and detection accuracy. In addition, the size of the proposed light-PDD is only 95.7 MB, the inference speed is improved by 34.37 frames per second of light-PDD as compared to the baseline model YOLOv4 and simultaneously, a comparable accuracy of 97.13% is obtained, which verifies that the proposed light-PDD is a reliable and competitive lightweight model for PCB defects detection.
computer science, artificial intelligence,engineering, electrical & electronic,operations research & management science