Classical Computer Vision for Automated Quality Inspection: A Reproducible Study Integrating SPC and Process Capability

Automated visual inspection is often evaluated as an image-classification task, although an industrial quality decision also depends on defect escape risk, dimensional measurement error, process behavior, and the distinction between engineering specifications and statistical control. This work presents a reproducible classical-computer-vision workflow integrating OpenCV-based inspection, dimensional measurement, deterministic pass/fail logic, confusion-matrix analysis, threshold sensitivity, Individuals statistical process control (SPC), and descriptive process capability analysis. The method is evaluated on a frozen synthetic experiment containing 240 part images generated with seed 42, eight ground-truth classes, a nominal width of 50.00 mm, and specification limits of 49.80–50.20 mm. At the frozen visual threshold of 95, the system achieved 88.33% accuracy, 100.00% precision, and 81.58% defect recall, with 28 false accepts and no false rejects. Low-contrast surface defects accounted for 21 of the 28 escapes. An exploratory threshold sensitivity study reduced the observed false-accept rate from 18.42% at the frozen baseline to 4.61% at threshold 150 without introducing false rejects in the synthetic dataset. Vision-based dimensional measurement produced a bias of +0.006 mm, MAE of 0.095 mm, and RMSE of 0.184 mm. Controlled dimensional drift toward the upper specification limit reduced descriptive Cpk from 0.45 to 0.29, followed by recovery to 0.50. The study demonstrates how an interpretable computer-vision inspection pipeline can be evaluated as a quality-engineering system using defect-escape metrics, measurement analysis, SPC, and process capability. Because the experiment uses synthetic imagery and simulated calibration, the results establish reproducibility and controlled ground-truth recovery within the designed case study rather than industrial validation.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-08-11
DOI
https://doi.org/10.5281/zenodo.21883473
Primary Topic
Industrial Vision Systems and Defect Detection
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Classical Computer Vision for Automated Quality Inspection: A Reproducible Study Integrating SPC and Process Capability

Romulo Giancarlo Colorado Balboa
Zenodo (CERN European Organization for Nuclear Research)
Industrial Vision Systems and Defect Detection
preprint

Classical Computer Vision for Automated Quality Inspection: A Reproducible Study Integrating SPC and Process Capability

Romulo Giancarlo Colorado Balboa
preprint en

Abstract

Automated visual inspection is often evaluated as an image-classification task, although an industrial quality decision also depends on defect escape risk, dimensional measurement error, process behavior, and the distinction between engineering specifications and statistical control. This work presents a reproducible classical-computer-vision workflow integrating OpenCV-based inspection, dimensional measurement, deterministic pass/fail logic, confusion-matrix analysis, threshold sensitivity, Individuals statistical process control (SPC), and descriptive process capability analysis. The method is evaluated on a frozen synthetic experiment containing 240 part images generated with seed 42, eight ground-truth classes, a nominal width of 50.00 mm, and specification limits of 49.80–50.20 mm. At the frozen visual threshold of 95, the system achieved 88.33% accuracy, 100.00% precision, and 81.58% defect recall, with 28 false accepts and no false rejects. Low-contrast surface defects accounted for 21 of the 28 escapes. An exploratory threshold sensitivity study reduced the observed false-accept rate from 18.42% at the frozen baseline to 4.61% at threshold 150 without introducing false rejects in the synthetic dataset. Vision-based dimensional measurement produced a bias of +0.006 mm, MAE of 0.095 mm, and RMSE of 0.184 mm. Controlled dimensional drift toward the upper specification limit reduced descriptive Cpk from 0.45 to 0.29, followed by recovery to 0.50. The study demonstrates how an interpretable computer-vision inspection pipeline can be evaluated as a quality-engineering system using defect-escape metrics, measurement analysis, SPC, and process capability. Because the experiment uses synthetic imagery and simulated calibration, the results establish reproducibility and controlled ground-truth recovery within the designed case study rather than industrial validation.

Zenodo (CERN European Organization for Nuclear Research)
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.

Laika access coming soon