← Research/Automotive

Catching defects on the line with vision AI: what works with few defect images

Solnix MediaJun 18, 2026 · Updated Oct 19, 20269 min read

99.6%

image-level AUROC reported by PatchCore on the MVTec AD benchmark

Source: arXiv

Visual inspection on an automotive line has a data problem: good parts are plentiful and defects are rare and varied. This post covers the anomaly detection methods that learn from good parts, the published benchmarks behind them and how to connect inspection to the quality system so findings lead to fixes.

AUTOMOTIVE · VISUAL INSPECTION99.6%image-level AUROC, PatchCore on MVTec ADDefect images neededFew or noneWhat decides line resultsLighting, fixturesFindings feed intoIATF 16949 · FMEARoth et al. · arXiv · MVTec AD benchmark
01

Why supervised models struggle

A classifier needs examples of every defect type. On a good line you may see a handful of scratches, porosity or misaligned clips a week, each looking different. By the time you have enough labelled examples, the process has changed.

02

Anomaly detection learns from good parts

The MVTec AD dataset, with 15 object and texture categories of industrial images, became the reference benchmark for this approach [1]. PatchCore stores features from defect-free images and flags patches that are far from anything in that memory; it reported image-level AUROC of up to 99.6% on MVTec AD [2]. Methods like this also produce a heat map showing where the anomaly is, which is what an inspector needs.

03

From benchmark to line

  • Control the image: fixed lighting, fixtures and camera position remove most false alarms before any model is trained.
  • Respect takt time: inference must finish within the station's cycle, so model size and hardware are chosen from the takt, not the benchmark.
  • Plan for variants and changeovers: each part number needs its own reference set or a model that handles variants.
  • Keep a person on the borderline cases and use their decisions as labels to improve the model.
04

Close the loop with the quality system

IATF 16949 requires automotive suppliers to manage nonconformities and corrective actions [3]. An inspection system becomes valuable when each finding is linked to the station, shift, lot and process parameters, so quality engineers can find the cause and update the FMEA. Field problems that escape still surface as recalls, which NHTSA publishes for anyone to search [4].

Sources

  1. [1]MVTec Anomaly Detection dataset (MVTec AD) · MVTec Software
  2. [2]Towards Total Recall in Industrial Anomaly Detection (PatchCore, Roth et al., 2022) · arXiv
  3. [3]IATF 16949 automotive quality management · IATF Global Oversight
  4. [4]Vehicle recalls lookup · NHTSA

Found this useful?

Share the key finding on X.

Post on X

Implement this

Ready to deploy this at your organisation?

Talk to our AI team →

More from Solnix