Get the free AI Delivery Playbook
AkveoContact us

AI defect detection in manufacturing

Human inspectors miss defects and scrap good parts, and plants struggle to hire enough of them. Here is what the research says about manual, rule-based and AI inspection, which imaging sees which defects and what it takes to put a vision model on a real line.

Workers at stations along an electronics production line in a bright factory
28%of large US manufacturers rank vision systems among their top technology investments
21.4%of US manufacturers used AI in their operations in the two weeks to October 18, 2026

Where manufacturers stand on AI and vision

Deloitte's 2025 Smart Manufacturing Survey of 600 executives at large US manufacturers shows AI moving from pilots to production, with vision systems high on the investment list and hiring still hard.

29%already use AI and machine learning at facility or network level
23%are piloting AI and machine learning
28%name vision systems as a top priority for factory technology investment
48%report moderate to significant challenges filling production and operations management roles
Hands measuring a machined metal part with a digital caliper

Where manual inspection breaks down

Manual inspection depends on who is on shift, how tired they are and how they read each defect.

In practice, the same part can pass one inspector and fail the next, and results drift over a long shift. Sampling instead of checking every part leaves gaps, and inspectors often label the same defect in different ways.

With 1.9 million manufacturing jobs projected to go unfilled by 2033, adding people is rarely the answer. Moving inspection to cameras and models keeps every part checked and turns each decision into data you can trace.

  • Missed defects turn into returns, warranty claims and recalls.
  • False rejects turn good parts into scrap and rework.
  • Inconsistent labels make quality data hard to trust, and hard to train a model on.

Rule-based vision, deep learning or anomaly detection

In our experience most lines end up with a mix: measurements stay with rules, cosmetic and variable defects go to AI, and anomaly detection gets a project started before there are enough defect examples.

Rule-based machine visionSupervised deep learningAnomaly detection
Training dataNone. Engineers tune thresholds, templates and measurements.Labeled examples of every defect type, plus good parts.Only images of good parts.
Best forGauging, presence checks and reading codes under controlled light.Naming the defect type on variable surfaces such as castings, wood and textiles.Flagging defect types nobody has seen yet, with little labeling effort.
LimitsBreaks when texture, lighting or part position vary. Each new defect needs new rules.Defects are rare, so labeling is slow and costly. Misses defect types absent from training.Says a part is different, not what is wrong. More false alarms on naturally variable parts.
Choose it whenThe part and the light are stable and the check is geometric.You can collect enough labeled examples of each defect type.Defects are rare or unpredictable and you need to start quickly.
[ Defect types ]

Which defects AI inspection can find

Surface defects

Scratches, dents, stains, cracks and porosity on the surface. Usually a 2D camera with angled or dark-field lighting that makes relief visible.

Dimensional deviations

Wrong size, shape, flatness or position. 3D sensors or calibrated 2D cameras, often checked with rules rather than AI.

Assembly errors

Missing, extra or misplaced components, wrong orientation and loose connectors. A 2D camera at each assembly station.

Internal defects

Voids, inclusions, porosity and internal cracks that no camera can see from outside. X-ray or CT inspection.

Color and finish

Shade variation, coating defects and print quality. Color cameras with diffuse, stable lighting and regular calibration.

Process and thermal defects

Weak welds, bad seals and overheating components. Thermal cameras, often combined with process data from the line.

Choosing the camera and the light

Most accuracy is won or lost before the model, in the imaging setup. These are the main options and what each one is good at.

ImagingWhat it capturesTypical use
2D area-scan cameraA full image of a part at one momentDiscrete parts, assembly checks, labels and surface defects
Line-scan cameraOne line of pixels at a time, built up as material movesContinuous material such as sheet metal, film, paper, textiles and web
3D sensorHeight and shape, from laser triangulation or structured lightDimensions, flatness, dents, weld beads and volume
X-ray or CTThe inside of a partCastings, welds, electronics and sealed packages
Thermal cameraHeat patternsSeals, welds, electrical faults and process monitoring

Lighting matters as much as the camera. Diffuse light suits shiny parts, dark-field light shows scratches and relief, and back-light shows outlines and holes.

Our view

Start with one defect that costs you money

The projects that pay off pick one expensive defect on one line, measure what inspection misses today and test a model on real images in shadow mode. A pilot like that answers the questions that matter, missed defects, false rejects and line speed, in weeks rather than after a factory-wide rollout.

What leading factories report

The World Economic Forum's Global Lighthouse Network recognizes factories that scale advanced technology. In the 2025 cohort, several sites reported large drops in defects from their digital programs.

Defect reduction reported by WEF Lighthouse factories, whole-program results, January 2025
  • Guizhou Tyre, Guiyang57%
  • Valeo front camera plant, Shenzhen45.9%
  • Foshan Haitian Flavouring & Food39.1%
  • Beijing Shougang Cold Rolling35%
  • CITIC Dicastal, Morocco31.1%

Self-reported results from programs with many use cases, not from vision inspection alone. CITIC Dicastal's program includes an AI vision inspection system alongside casting, machining and process-control algorithms.

View data as a table
Guizhou Tyre, Guiyang57%
Valeo front camera plant, Shenzhen45.9%
Foshan Haitian Flavouring & Food39.1%
Beijing Shougang Cold Rolling35%
CITIC Dicastal, Morocco31.1%

Have images of your parts?

Send us a sample of good and defective parts. We will check what an AI model can detect on your line before you buy any hardware.

Book a feasibility check
[ Process ]

How an AI visual inspection project runs

Most accuracy is won or lost before the model: in the camera, the lighting and the labels.

  1. Define the quality problem

    Agree on the defect catalog, acceptance criteria and line speed, and measure today's missed-defect and false-reject rates as the baseline.

  2. Test feasibility on real parts

    Collect golden samples and known defects, and check that your inspectors agree on what counts as a defect.

  3. Design imaging and collect data

    Choose the camera, optics, lighting and triggering, then capture good parts first and defects as they appear.

  4. Train and validate the model

    Report missed defects and false rejects on held-out images, and validate across shifts, batches and lighting changes.

  5. Integrate with the line

    Run inference at the edge at line speed, send reject signals to the PLC and store images and results in MES or QMS for traceability.

  6. Run in shadow mode, then scale

    Run beside human inspectors until results hold, then switch over and retrain when products, suppliers or defect types change.

[ Limitations ]

Limitations and how to address them

Too few defect examples

Start with anomaly detection trained on good parts, then add a supervised model as labeled defects accumulate.

Inconsistent labels

Agree on a defect catalog with example images and check that inspectors label the same parts the same way before training.

Lighting, dust and part variation

Fix imaging first: enclosed and controlled lighting, consistent part presentation, cleaning routines and validation across shifts and batches.

Drift after launch

Monitor results, keep inspectors able to override decisions and retrain when products, suppliers or defect types change.

[ Case Studies ]

Related AI we have built

Not a visual inspection project, but it shows how we build AI that diagnoses faults from photos, codes and descriptions.

AutomotiveAI Development

AI Car Diagnostic for a Swedish Automotive Company

24 specialized diagnostic tools

We built a virtual mechanic that turns a symptom description, a fault code or a photo into a diagnosis, a cost estimate and next steps, backed by real repair data.

See more details
AI Car Diagnostic for a Swedish Automotive Company

Sources

  1. The Manufacturing Institute and Deloitte, manufacturing talent study · Labor demand model and survey, April 2024
  2. Deloitte, 2025 Smart Manufacturing Survey · 600 executives of large US manufacturers, 2025
  3. US Census Bureau, Business Trends and Outlook Survey · Manufacturing sector, October 5–18, 2026
  4. Heckler-Kram et al., The MVTec AD 2 Dataset · 8 scenarios, 8,000+ images, 2025
  5. World Economic Forum, Global Lighthouse Network 2025 · Self-reported site results, January 2025
[ FAQ ]

Frequently asked questions

Discuss AI inspection for your line

Tell us about your parts, defects and current inspection. We will come back with the approach that fits and what a pilot would take.

Dmitry Klim
Dmitry Klim
Head of Growth
Clutch
5900 Balcones Drive #21729, Austin, TX 78731[email protected]+1 (512) 921-9631