PIDDN: Pair-Image-Based Defect Detection Network With Template for PCB Inspection
The detection of defects has consistently posed a significant obstacle in the domain of machine vision, particularly in the context of the production of printed circuit board (PCB) components. To advance this technology, we present pair-image-based defect detection network (PIDDN), a novel framework that enables precise detection of object bounding boxes by utilizing a pair of images, with one designated as a template. The PIDDN approach involves the utilization of a Siamese neural network to simultaneously encode the features of the pair image, followed by the implementation of a template feature fusion network (TFFN) for integration. In addition, we introduce a template feature rectification module (TFRM) that aligns the feature maps of the pair-images attentively. We evaluate PIDDN on the DeepPCB dataset, and it achieves an impressive mean average precision (mAP) score of 99.6%. Furthermore, we present PairPCB, a complex and realistic dataset collected from real-world PCB production scenarios, to validate the effectiveness of template images. Extensive experiments demonstrate that PIDDN outperforms mainstream object detection algorithms with a 4.1% improvement in mAP. Code will be available at: <uri xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">https://github.com/QixingJiang/PIDDN</uri>.
Authors
- Jinghui Zhou
- Xiaojun Wu (ORCID: https://orcid.org/0000-0003-4988-5420)
- Qixing Jiang (ORCID: https://orcid.org/0000-0001-5439-1818)
- Jun Cheng (ORCID: https://orcid.org/0000-0002-3131-3275)
Institutions
- Shenzhen Institute of Information Technology (CN)
- Chinese Academy of Sciences (CN)
- Harbin Institute of Technology (CN)
- Shenzhen Institutes of Advanced Technology (CN)
Publication Details
- Journal
- IEEE Transactions on Components Packaging and Manufacturing Technology
- Published
- 2025-02-21
- DOI
- https://doi.org/10.1109/tcpmt.2025.3543396
- Citations
- 1
- Primary Topic
- Industrial Vision Systems and Defect Detection
- Type
- article
- Field-Weighted Citation Impact
- 1.24
Funders
- National Natural Science Foundation of China