Skip to content
Preprint

Quality Inspection of Printed Circuit Board Pin Insertion via Semantic Segmentation and Board-Level Feature Extraction

Aug 2026 · 0 citations · 33 references
Computer Science

TL;DR

The results indicate that the proposed approach is a promising candidate for automated pin inspection in industrial environments and achieves strong performance on datasets with substantially different visual characteristics after dataset-specific training.

Abstract

Quality control during printed circuit board (PCB) assembly is a critical step in ensuring reliable electronic products. Detecting misaligned pins during or after pin insertion remains a particularly challenging inspection task. This paper presents an automated defect detection method for identifying incorrectly inserted pins on PCBs. The proposed pipeline combines semantic segmentation using a U-Net architecture with contour-based feature extraction and logistic regression for board-level pass/fail classification. Segmentation masks are used to derive contour representations of individual pins, from which board-level features -such as average contour size- are extracted and used to train a logistic regression classifier. We evaluate the method on two datasets: an industrial collection of real-world PCB images, and a publicly available PCB pin-inspection dataset with substantially different visual characteristics. To assess the effectiveness of the proposed approach, a comparison against PatchCore, an anomaly detection technique new to be applied to pin inspection, as well as instance segmentation-based pin detection is made. The developed method achieved Area Under the Receiver Operating Characteristic Curve (ROC-AUC) values of 0.990 on a random test set split from the industrial data and 1.000 on the public dataset indicating strong separation between pass and fail boards. The results indicate that the proposed approach is a promising candidate for automated pin inspection in industrial environments and achieves strong performance on datasets with substantially different visual characteristics after dataset-specific training.

View source

Similar papers

Open access Sep 2026

Printed circuit board defect detection for smart manufacturing using a fast integral image approach

The inspection speed of a system directly affects the production rate and quality of the parts produced. There are various ways of processing inspected data at different inspection speeds, but at present, inspection speeds are relatively slow and not up to the industry standard. This study aims to investigate the effec...

Shivani, Adesh Kumar · 0 citations
Open access Aug 2026

Hybrid Detection-Segmentation for Precision Wire Welding with Mask-Based Offset Generation in Smart Connector Manufacturing

Accurate conductor-to-pad alignment is essential in PCB wire welding because misalignment increases rework, lowers yield, and affects product quality. In manufacturing images, precise conductor localization is challenging because the target structures are small, the boundaries are subtle, and the conductors often resem...

Yu-Shan Jiang, Meng-Xun Zhou, Yun Lin · 0 citations
Preprint Sep 2026

PCB-MC: Missing Component Analysis in Printed Circuit Boards

Detecting missing components on printed circuit boards (PCBs) differs fundamentally from conventional object detection, as the model must localize components that are not present. We introduce PCB-MC, a curated dataset for missing component detection with footprint level annotations built on top of the RF100 dataset. T...

Betsy Villa Brochero, I. Gibson, Estefania Talavera · 0 citations
Open access 2026

Defect Detection in Printed Circuit Boards Using YOLO Optimized by Ghost Convolution

Automated optical inspection (AOI) is essential for ensuring the reliability of printed circuit boards (PCBs), particularly as manufacturing processes evolve toward higher component density and structural complexity. This work presents a systematic, architecture-dependent, and hardware-aware evaluation of Ghost Convolu...

G. Mitoso, Tiago de Melo · 0 citations
Conference Sep 2026

An adaptive CNN–transformer feature fusion framework for multi-class PCB surface defect detection

Experimental results show that the proposed framework outperforms Faster R-CNN, YOLOv5, RetinaNet, EfficientDet and the original Swin Transformer and has almost the same accuracy as a pure Transformer-based system but at a lower computational cost; thus, it is more feasible in practice.

Ran-Ting Zhang, Huan-Huan Lian, Ying-Min Li et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.