Skip to main content
QUICK REVIEW

[Paper Review] Online PCB Defect Detector On A New PCB Defect Dataset

Sanli Tang, Fan He|arXiv (Cornell University)|Feb 17, 2019
Industrial Vision Systems and Defect DetectionEngineering23 references77 citations
TL;DR

This paper presents a deep PCB defect detector using a novel Group Pyramid Pooling (GPP) module and introduces DeepPCB, a public dataset with 1,500 aligned template–defect image pairs for six defect types, achieving 98.6% mAP at 62 FPS.

ABSTRACT

Previous works for PCB defect detection based on image difference and image processing techniques have already achieved promising performance. However, they sometimes fall short because of the unaccounted defect patterns or over-sensitivity about some hyper-parameters. In this work, we design a deep model that accurately detects PCB defects from an input pair of a detect-free template and a defective tested image. A novel group pyramid pooling module is proposed to efficiently extract features of a large range of resolutions, which are merged by group to predict PCB defect of corresponding scales. To train the deep model, a dataset is established, namely DeepPCB, which contains 1,500 image pairs with annotations including positions of 6 common types of PCB defects. Experiment results validate the effectiveness and efficiency of the proposed model by achieving $98.6\%$ mAP @ 62 FPS on DeepPCB dataset. This dataset is now available at: https://github.com/tangsanli5201/DeepPCB.

Motivation & Objective

  • Register and address limitations of traditional image-difference PCB defect methods (alignment, defect variety, hyper-parameter sensitivity).
  • Propose a deep learning-based detector that operates on aligned template and tested PCB images to localize and classify defects.
  • Create and publicize a large, annotated dataset (DeepPCB) to enable robust learning for PCB defect detection.

Proposed method

  • Use a convolutional backbone to extract features from the paired input images and compute their feature differences.
  • Introduce Group Pyramid Pooling (GPP) to fuse multi-resolution features and predict defects at corresponding scales.
  • Predict bounding boxes and defect classes from multiple scales using default boxes and convolutional predictors similar to SSD-style heads.
  • Train with a matching strategy inspired by SSD to associate ground-truth boxes with default boxes (IoU > 0.5) and optimize both regression (Smooth L1) and classification (softmax) losses.
  • Apply non-maximum suppression (NMS) across multi-scale predictions to produce final defect detections.

Experimental results

Research questions

  • RQ1Can a deep detector trained on aligned template–defect pairs accurately localize and classify PCB defects across multiple types?
  • RQ2Does the proposed Group Pyramid Pooling module improve detection accuracy and efficiency over standard multi-scale feature fusion approaches?
  • RQ3What is the performance of the DeepPCB dataset and detector compared to traditional image-processing methods and other deep detectors on PCB defect detection?

Key findings

  • The proposed model achieves 98.6% mAP on DeepPCB with 62 FPS inference speed.
  • GPP with max pooling yields higher mAP than average pooling by about 1.5%.
  • Compared to image processing and several deep detectors (SSD, YOLO, Faster R-CNN variants), the method delivers competitive or superior mAP while maintaining real-time speed.
  • Ablation shows the full GPP setup outperforms a non-GPP variant and SSD-FPN by notable margins in accuracy.
  • The DeepPCB dataset provides aligned 640x640 template and tested image pairs with six defect types and 1,500 pairs (1,000 train / 500 test).

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.