Getting your factory ready for AI visual inspection
By HoldField · 2026-06-29
The instinct when approaching AI visual inspection is to start with the model. In practice the model is the last thing that matters and the easiest to change. What determines whether it works is the imaging in front of it and the examples behind it. A factory that gets those right can adopt almost any capable model; one that gets them wrong will fail with the best.
Prerequisite one: repeatable imaging
A model can only be as consistent as the images it is given. That means controlled lighting, a fixed camera-to-part geometry, and a fixture that presents the feature of interest the same way every time. If a human would struggle to judge the part from the image, the model will too — imaging is not a detail to fix later, it is the foundation.
Prerequisite two: labeled examples of the decision
- Examples of clearly acceptable parts.
- Examples of clearly unacceptable parts.
- The borderline cases — the ones your own inspectors disagree on — which are the most valuable of all.
- For each, the reason it was judged that way, tied to the written criterion.
This is why keeping observations from manual inspection pays off before any automation: those saved images and their verdicts are the exact material a model needs to be evaluated against. Readiness is largely a byproduct of having run manual inspection as an evidence process rather than a stamping process.
Prerequisite three: a decision that rules make, not the model
The safest architectures keep the model as a detector and let explicit, versioned rules make the accept/reject decision. That separation is what makes the system auditable: you can show which rule fired, on which detection, for which part. It also means the model can be improved without silently changing what counts as a pass. A model that both sees and decides is hard to trust; one that only sees is easy to check.
A useful readiness check: before evaluating any model, assemble fifty labeled borderline images with reasons. If you cannot, the gap is in your inspection process, not your technology choice.