Skip to content

Computer Vision in Manufacturing and Quality Inspection

Using cameras and AI to spot defects on production lines: setup, data collection, model choices and running it reliably.

Editorial team 1 min read

Visual inspection is one of the most practical industrial uses of AI: cameras and models spot defects consistently, at line speed.

Typical Tasks

  • Detecting scratches, cracks, dents and contamination.
  • Checking assembly: missing parts, wrong orientation.
  • Reading labels, codes and serial numbers.
  • Measuring dimensions.

Get the Imaging Right

Lighting, camera position, lens and background matter more than the model. Consistent lighting that makes defects visible is the single biggest factor in success.

Collecting Data

Defects are rare, so collecting examples takes time. Save images of every defect found, capture the full range of normal variation, and involve quality engineers in labelling.

Model Approaches

  • Classification: good or defective.
  • Object detection or segmentation: where the defect is and how big.
  • Anomaly detection: trained mostly on good parts, flagging anything unusual — useful when defect examples are scarce.

Running It Reliably

  • Measure false rejects (good parts scrapped) and escapes (defects missed); both cost money.
  • Route borderline cases to human inspectors.
  • Monitor for drift when lighting, materials or products change.
  • Retrain as new defect types appear.

Integration

Connect inspection results to production systems so defects trigger actions and trends reveal process problems upstream.

More in Applied AI

All Applied AI guides →
Applied AI Guide · 2 min

Image Classification With Pretrained Models

Classifying images without training from scratch: choosing a pretrained model, preparing images correctly and reading the output.

Applied AI 2 min read 4 Jun 2026

Applied AI Guide · 2 min

Object Detection Explained

How object detection finds and localises multiple objects in an image, the main model families and how accuracy is measured.

Applied AI 2 min read 3 Jun 2026

Applied AI Guide · 2 min

Image Segmentation

Semantic, instance and panoptic segmentation: labelling images pixel by pixel, and where each is used.

Applied AI 2 min read 2 Jun 2026

Applied AI Guide · 2 min

Optical Character Recognition (OCR) With AI

Extracting text from images and scanned documents: how modern OCR works, where it fails and how to improve results.

Applied AI 2 min read 1 Jun 2026