Escape vs overkill: measuring a vision system honestly

Inspection station HMI showing total inspections, passed and failed counts, and live yield percentage

Every vision proposal quotes an accuracy figure, and the figure is almost always useless. On a line running at 98% yield, a system that passes every single part without looking at it scores 98% accurate. It has caught nothing. The number is true and it means nothing.

Quality engineering solved this vocabulary problem decades before anyone put a neural network on a factory floor. The two words that matter are escape and overkill, and they cost completely different amounts of money.

The two errors, and why they are not symmetric

Escape

The system said pass, the part was defective. The defect leaves your building. Cost is a warranty claim, a customer complaint, a line-down call, or a recall. Unbounded, and it arrives weeks later attached to your reputation.

Overkill

The system said fail, the part was good. You scrap or rework something saleable. Cost is the part plus the handling, paid immediately, and entirely inside your own four walls.

Both are errors. They are not the same error. An escape on a brake component and an overkill on a plastic clip are separated by several orders of magnitude, and any single accuracy number averages that distinction away completely. This is the whole reason the two words exist.

It is also why the sensitivity setting on an inspection station is a business decision rather than a technical one. Tightening it trades escapes for overkill. Loosening it trades the other way. There is no setting that eliminates both, and the correct position depends on what each costs you, which is a conversation for the quality and finance teams rather than for whoever is holding the mouse.

Why accuracy misleads, with numbers

Take a line producing 10,000 parts with a 2% true defect rate, so 200 bad parts and 9,800 good ones. Two systems:

SystemAccuracyEscapesOverkill
A: passes everything98.0%2000
B: catches 190 of 20097.6%10230

System A has the better accuracy score and is worthless. System B looks worse on the headline number and is the one you want, because it converted 190 potential customer complaints into 230 scrapped parts. Whether that is a good trade is arithmetic you can actually do: 190 times the cost of an escape against 230 times the cost of a part. Accuracy cannot express that question, let alone answer it.

The four numbers worth asking for

If you are evaluating an inspection system, these are the figures to insist on, and all four should come from your parts rather than from a datasheet.

1. Escape count on a known-bad set

Run a set of parts you know are defective, and count how many the system passes. Not a percentage on a mixed set. A count on defects. This is the number that appears in a customer complaint.

2. Overkill count on a known-good set

Run parts you know are good, including the marginal ones your own inspectors argue about, and count the false rejects. Testing only on pristine samples produces a number that collapses on day one of production.

3. Repeatability, ideally gauge R&R

Run the same parts again. Does the system give the same answer? A station that is right on average but inconsistent part to part cannot be trusted for disposition, and repeatability is a measure your quality team already applies to every other gauge on the floor.

4. Yield, broken out by station

Pass rate over real production, grouped by line or machine. A single station with a markedly lower pass rate is usually telling you about a process problem or a fixturing problem, not about the model.

The third one deserves emphasis because it is the one most often skipped. Gauge repeatability and reproducibility is standard practice for a caliper or a CMM, and there is no reason an automated inspection should be exempt. Asking a vendor for gauge R&R on their vision system is a fair question, and the answer tells you a lot about whether they have deployed into regulated manufacturing before.

OV80i HMI reporting 204,321 total inspections, 191,332 passed, 12,989 failed, and 93.64 percent yield alongside per-class blob statistics
Live station reporting: 204,321 inspections, 12,989 failures, 93.64% yield, alongside per-class statistics. Cumulative counts like these are what let you separate a model problem from a process problem.

Measure it before you go live, not after

The traditional way to find out whether an inspection works is to run it in production and see what happens. That is an expensive experiment, because the failure mode you are testing for is a defect reaching a customer.

The alternative is backtesting: assemble a set of images with known ground truth, run the complete inspection recipe over every one of them offline, and get the escape and overkill counts before the station ever gates a real part. On the OV80i this runs on the camera itself and reports in exactly this vocabulary, escapes and overkill rather than false positives and false negatives, with a confusion matrix you can click into to see which images went wrong.

Two details make the difference between a backtest that helps and one that flatters you. First, the test set has to include marginal parts, because a set of obvious passes and obvious failures will report a number nobody can reproduce in production. Second, the test set has to be kept and re-run after every change to the recipe, otherwise you are tuning for one number while quietly breaking another. A test set that travels between cameras as a file is what makes that practical across a fleet.

What good looks like in a proposal

A useful specification for an inspection station reads something like this, and notice that it contains no accuracy figure at all.

  1. Zero escapes on the agreed defect set of N parts, including the marginal examples both parties signed off.
  2. Overkill below an agreed percentage of production, because this is the number that determines whether operators keep the station switched on.
  3. Repeatability demonstrated across at least two runs of the same parts.
  4. The test set retained, version controlled with the recipe, and re-run as an acceptance step after any change.

The second point is the one people underestimate. Overkill is not merely a scrap cost. It is the mechanism by which good inspection systems get bypassed: if the station rejects parts an operator can see are fine, the station loses credibility, and within a month someone is waving parts through. A system with slightly more escapes that operators trust often outperforms a stricter one they have learned to override.

None of this is specific to AI. It applies equally to a rule-based tool, a human inspector, or a go/no-go gauge, and that is rather the point: the arrival of learned models does not require new vocabulary, it requires using the vocabulary quality engineering already had. If you want the wider context on how these stations get built, our guide to machine vision systems covers the whole picture, and the piece on anomaly detection covers the approach where getting the escape and overkill balance right matters most.

Frequently Asked Questions

What is the difference between an escape and overkill in quality inspection?

An escape is a defective part the inspection passed, so the defect leaves the plant and the cost appears later as a complaint, warranty claim or recall. Overkill is a good part the inspection rejected, so you scrap or rework something saleable and pay a smaller cost immediately and internally. Both are errors but they differ in magnitude by orders of magnitude, which is why a single accuracy figure that averages them together is not useful for deciding whether a station is acceptable.

Why is accuracy a bad metric for a vision inspection system?

Because it is dominated by the class distribution. On a line with a 2% defect rate, a system that passes every part without inspecting anything scores 98% accurate while catching nothing. Accuracy also averages escapes and overkill into one number even though they cost radically different amounts. Ask for escape and overkill counts on known-bad and known-good sets instead.

Can you run gauge R&R on an AI vision system?

Yes, and you should. Gauge repeatability and reproducibility is standard practice for any other measurement device on the floor, and an automated inspection should not be exempt. In practice it means running the same parts through more than once and comparing the verdicts. It is a fair question to put to any vendor, and the answer indicates whether they have deployed into regulated manufacturing.

What is backtesting in machine vision?

Backtesting runs a complete inspection recipe offline over a set of images with known ground truth, producing escape and overkill counts before the station gates any real production. It replaces the expensive alternative of discovering the performance in production, where the failure mode under test is a defect reaching a customer. To be meaningful the test set must include marginal parts, and it should be retained and re-run after every recipe change.

How do you decide the right sensitivity for an inspection station?

By cost, not by preference. Tightening sensitivity trades escapes for overkill and loosening it trades the other way, and no setting removes both. Estimate the cost of one escape and the cost of one scrapped good part, then choose the point where total cost is lowest. This makes the setting a business decision involving quality and finance rather than a technical choice made at the terminal.

Why does overkill matter if the parts are cheap?

Because overkill is how good inspection systems get switched off. If a station rejects parts an operator can plainly see are acceptable, it loses credibility on the floor, and before long someone is overriding it or waving parts through. A system with marginally more escapes that operators trust frequently outperforms a stricter one they have learned to bypass. Overkill is an adoption risk as much as a scrap cost.

See how Overview AI inspects inspection validation

Send us a photo of your part or defect and a vision engineer will tell you whether Overview can catch it, with most systems deployed on the line in days.

Related Articles