YOLO-HCS: a YOLO-based framework for small defect detection in industrial automated optical inspection

Abstract Connectors are used in electronic and industrial systems to establish electrical connections between components, with terminal surfaces playing a role in ensuring current transmission. Accurate defect detection on these terminals is vital for maintaining product reliability and quality. However, detecting small, irregular, and scale-varying defects remains a challenge for automated visual inspection systems. To tackle this challenge, this work presents You Only Look Once with Hierarchical Coordinate Sampling (YOLO-HCS), a defect detection framework that integrates hierarchical positive sample selection (HPSS) to improve training stability, coordinate attention (CA) to enhance spatial localization of small targets, and scylla-Intersection over Union (SIoU) loss to refine bounding box regression through geometric constraints. We validate the approach on two datasets collected using automated optical inspection (AOI) systems. The proposed YOLO-HCS framework integrates hierarchical positive sample selection, coordinate attention, and SIoU loss to improve the detection of small and irregular defects in industrial AOI environments. Experimental results on two real-world AOI datasets demonstrate that the YOLO- HCS model achieves higher mean average precision (mAP), outperforming YOLOv7 and other state-of-the-art detectors. Beyond accuracy gains, the proposed method improves production line reliability, reduces reliance on manual inspection, and satisfies the real-time speed requirements of high-throughput manufacturing. Its lightweight design enables efficient deployment in industrial AOI systems while maintaining real-time inspection capability. While validated on connector terminals, the approach is broadly transferable to semiconductor packaging, printed circuit board (PCB) inspection, and precision component manufacturing, offering a practical pathway to strengthen industrial quality control and reduce operational costs.

Authors

Institutions

Publication Details

Journal
Machine Vision and Applications
Published
2026-08-20
DOI
https://doi.org/10.1007/s00138-026-01906-w
Primary Topic
Industrial Vision Systems and Defect Detection
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

YOLO-HCS: a YOLO-based framework for small defect detection in industrial automated optical inspection

Chun‐Cheng Lin, Hsiang-En Weng, Heng-Yih Liu, Shin-Hang Lu
Machine Vision and Applications
Industrial Vision Systems and Defect Detection
article

YOLO-HCS: a YOLO-based framework for small defect detection in industrial automated optical inspection

Chun‐Cheng Lin, Hsiang-En Weng, Heng-Yih Liu, Shin-Hang Lu
article en

Abstract

Abstract Connectors are used in electronic and industrial systems to establish electrical connections between components, with terminal surfaces playing a role in ensuring current transmission. Accurate defect detection on these terminals is vital for maintaining product reliability and quality. However, detecting small, irregular, and scale-varying defects remains a challenge for automated visual inspection systems. To tackle this challenge, this work presents You Only Look Once with Hierarchical Coordinate Sampling (YOLO-HCS), a defect detection framework that integrates hierarchical positive sample selection (HPSS) to improve training stability, coordinate attention (CA) to enhance spatial localization of small targets, and scylla-Intersection over Union (SIoU) loss to refine bounding box regression through geometric constraints. We validate the approach on two datasets collected using automated optical inspection (AOI) systems. The proposed YOLO-HCS framework integrates hierarchical positive sample selection, coordinate attention, and SIoU loss to improve the detection of small and irregular defects in industrial AOI environments. Experimental results on two real-world AOI datasets demonstrate that the YOLO- HCS model achieves higher mean average precision (mAP), outperforming YOLOv7 and other state-of-the-art detectors. Beyond accuracy gains, the proposed method improves production line reliability, reduces reliance on manual inspection, and satisfies the real-time speed requirements of high-throughput manufacturing. Its lightweight design enables efficient deployment in industrial AOI systems while maintaining real-time inspection capability. While validated on connector terminals, the approach is broadly transferable to semiconductor packaging, printed circuit board (PCB) inspection, and precision component manufacturing, offering a practical pathway to strengthen industrial quality control and reduce operational costs.

Machine Vision and ApplicationsVol. 37(6)
Asia University (TW), National Yang Ming Chiao Tung University (TW), National Chin-Yi University of Technology (TW), Yuan Ze University (TW)
National Science and Technology Council, National Yang Ming Chiao Tung University
Industry, innovation and infrastructure
Openalex Percentile: Top 66%
Industrial Vision Systems and Defect Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.