Skip to main content
CTO Insights

Using AI for Visual Quality Inspection

October 29, 2026

Visual inspection is tiring, inconsistent and hard to staff. Attention drops across a shift, standards drift between inspectors, and the defects that escape are usually the ones that look almost acceptable rather than the obvious failures.

AI quality inspection can help considerably with the repetitive part, provided the problem is one a camera can see and the business is prepared to invest in the images and the lighting rather than only the model.

Start with the defect list

Write down the defects that actually matter, how often each occurs and what each costs when it escapes. Some are visible at a glance, some need particular lighting or angle, and some cannot be seen at all and need a different sensor entirely.

That list decides whether the project is worth starting. A defect occurring twice a year rarely justifies a vision system, however impressive the demonstration.

Fix the imaging before the model

Most disappointing results trace back to inconsistent images rather than the algorithm. Controlled lighting, a fixed camera position, a consistent background and a clean lens matter more than the choice of model architecture.

Spending on a proper rig usually produces a bigger accuracy gain than spending the same amount on data science, and it keeps producing it after the project ends.

Expect a labelling effort

Supervised inspection needs labelled examples, including enough genuine defects. That is the hard part: a good production line may produce very few, and the rare ones are exactly the ones you most want caught.

Plan how examples are collected and labelled, who arbitrates disagreements between labellers, and where the images are stored. Two inspectors often disagree on borderline cases, and that disagreement has to be resolved before a model can learn anything consistent.

Half the failures we see are not model failures. The lens was dirty, or somebody moved the light in March.

Sam Ortiz, Director of Engineering, Engineered With AI

Decide the cost of each mistake

Missing a defect and rejecting a good part have very different costs, and the system should be tuned deliberately rather than to a generic accuracy figure. In safety-critical work, over-rejecting is usually the right bias.

Express the target in those terms: no more than a given escape rate, accepting a stated false-reject rate. That is a business decision, not one for whoever configures the threshold.

Keep people in the loop

The practical pattern is triage rather than replacement. The system passes clear cases, rejects clear failures and routes the uncertain middle to a person, which is where human judgement is worth most anyway.

Show the inspector what the system saw, including the region it reacted to. Unexplained rejections erode trust quickly and lead to staff overriding everything.

Plan for drift

Materials change, suppliers change, lighting degrades and product revisions arrive. A model trained in spring can quietly become unreliable by autumn without anything visibly breaking.

Monitor the rate of rejects and the confidence distribution over time, and re-check against a held-out set periodically. The same discipline described in building an AI evaluation set applies here.

Integrate with the line

An inspection result is only useful if it reaches something: a reject gate, a work instruction, a quality record or an alert to a supervisor. Integration with existing systems is usually where the project time actually goes.

Record every decision with its image and the model version, both for traceability and for the next round of training, which is the same logging discipline described in logging and auditing AI decisions.

Prove it alongside the current process

Run the system in parallel with human inspection before it decides anything. Every part gets inspected both ways, the disagreements are reviewed, and the record builds a realistic picture of accuracy on your actual line rather than on a vendor demonstration.

That period also surfaces the practical problems: parts presented at the wrong angle, reflective surfaces, a conveyor speed the camera cannot keep up with. Discovering those during a parallel run costs a few weeks; discovering them after switching over costs customer complaints.

Work out the real payback

Count the cameras, lighting, mounting, integration work, labelling effort and ongoing retraining alongside the licence or model cost. Then compare against the honest value of what escapes today, including warranty claims, rework, scrap and the customer relationships a bad batch damages.

Some inspection problems are better solved upstream by fixing the process that creates the defect. A model that catches a recurring fault reliably is useful; removing the cause of that fault is usually worth more.

Thinking about automated inspection?

We will assess whether your defects are the kind a model can catch.

Book a call

Talk to us about your own process

Book a call and we will look at your leads or your repeat work together.

Book a Call