A robotic inspection station is useful only when it reliably distinguishes accepted products from defective ones. The robot positions a sensor; the camera, measurement system and decision rule determine what gets rejected. Shiny parts, changing light and imperfect reference labels can produce convincing inspection screenshots with poor production results.
First decide whether the defect is visual or dimensional
An automated optical inspection line can detect scratches, stains, missing fasteners and assembly mistakes on a visible surface. A structured-light or laser scanner can check a 3D shape against a reference. Contact probing or traceable dimensional metrology may be required for a tight-tolerance dimension. A camera detecting “anomaly” cannot automatically certify a dimensional tolerance in millimeters.
| Customer question | Sensor or method | Failure to look for |
|---|---|---|
| Is the screw missing? | Camera and controlled light | False reject under reflections or shadows |
| Is the welded profile within tolerance? | 3D scan with calibrated reference | Measurement uncertainty near the tolerance boundary |
| Is a surface crack hidden? | Appropriate NDT method | Defect below the method's detection capability |
| Did assembly put the correct part in place? | Vision linked to part ID and workstation state | Wrong variant accepted because training data omitted it |
Why “99% accuracy” can be misleading
Suppose a batch has 10,000 parts and only 100 are actually defective. A classifier that accepts every part gets 99% overall accuracy while missing every defect. For production inspection, record true defect detections, missed defects and good parts incorrectly rejected. Report them separately for each defect type and under the actual prevalence of defects at the plant.
A January 2026 review of more than 50 studies found machine-learning vision technically viable across manufacturing, but emphasized the need to match sensor configurations, data and evaluation methods. Benchmarks on carefully framed public images do not establish performance on a moving production line with oil, vibration or new suppliers.
Can a robot-arm-mounted camera be trusted as a measuring instrument?
Moving a sensor around a component helps capture surfaces that fixed cameras cannot see. It also introduces robot positioning error, sensor-to-tool calibration error, vibrations and differences in viewing angle. To report dimensions, a measurement needs traceability and a suitable uncertainty budget, including all those sources. NIST emphasizes that a traceable instrument does not automatically make its measurement fit for a particular tolerance.
Check the whole system with reference artifacts at multiple orientations and temperatures. If the tolerance band is narrow, the uncertainty must be small enough to support an acceptance decision. A color-coded heatmap without calibrated units is a visualization, not a certificate of conformity.
A defect test that can survive a production shift
Use real parts from different machines, shifts and material lots, with independently assigned reference labels. Include borderline defects, contaminated surfaces, strong specular reflection and deliberate camera misalignment. Keep some batches unseen during training. Measure the true inspection cycle, including repositioning and reinspection, while running at normal production speed.
Store the part identifier, inspection software version, calibrated reference, raw image or scan, rule threshold and final decision. A production manager should be able to reconstruct why one item was rejected after a quality complaint, even if the model has subsequently been updated.