Machine Vision & Industrial Inspection AI worked example

Vision Defect Detection Rate at 71% required detection rate specification: a worked example

Suppose required detection rate specification falls to 71%. This page works the full calculation at that level so you can see exactly which result moves and by how much. Calculate the defect detection rate (recall) of a machine vision or AI inspection system by comparing the number of defects correctly detected to the total number of actual defects in the inspected population.

The inputs for this scenario

  • Defects correctly detected by vision system: 94 defects (held at the documented default)
  • Total actual defects in validation sample: 100 defects (held at the documented default)
  • Required detection rate specification: 71 % (the input this scenario stresses; the baseline uses 98)

Working through the calculation

  • The calculation starts from the formula this tool documents: Defect detection rate = defects detected / total actual defects x 100.
  • Defect detection rate works out to 94 % at these inputs, and this is the headline figure for the scenario.
  • Gap to detection specification works out to -23 points at these inputs.
  • Defects correctly detected works out to 94 count at these inputs.
  • Total actual defects in sample works out to 100 count at these inputs.

How this compares with the baseline

  • Against the tool's baseline example, where required detection rate specification sits at 98% and the headline result is 94 %, this scenario lands almost exactly on the baseline at 94 %.
  • It computes the percentage of known defects the vision system correctly detected and the point gap to your required detection specification. When the numbers land here, the stressed input is the lever to work; the walkthrough above shows exactly how much each output recovers as it climbs back toward the baseline.

Results at a glance

  • Defect detection rate: 94 % (headline result)
  • Gap to detection specification: -23 points
  • Defects correctly detected: 94 count
  • Total actual defects in sample: 100 count

Run it with your numbers

  • To rerun this with your own numbers, open the live Vision Defect Detection Rate calculator, set required detection rate specification to your actual value, and adjust the remaining inputs to match your operation.

Last reviewed 2026-05-12.