IndustryHub
AI / VISION & QUALITY

Machine vision & quality

AI · VISION

Machine vision & quality

Machine vision inspects 100% of production at line speed, where the human eye tires. Deep learning has widened its reach to variable, ill-defined defects. But success is decided first on lighting and optics, not on the neural network.

The technical building blocks

2D

Surface & presence inspection

Scratches, stains, presence/absence, code reading and industrial OCR, dimensional measurement with a calibrated camera.

3D

Metrology & profile

Structured light, laser triangulation, stereo vision and point clouds for shape, flatness and volume control.

Deep learning

Classification, segmentation, anomaly

Convolutional networks handle variable defects that rule-based vision cannot describe; unsupervised detection learns "good" and flags the deviation.

Edge & speed

Embedded GPU & real time

Inference keeps line speed (a few ms) on an embedded GPU or smart camera, triggers ejection and traces every part.

Lighting first

Half the result is decided before any algorithm: good lighting makes the defect stand out, a bad image cannot be rescued by software. Choosing the lighting is the first setting of a vision cell, not the neural network.

LightingWhat it reveals
Diffuse frontal (dome)glossy or curved surfaces, without parasitic glare
Backlightsilhouette, dimensional measurement, presence/absence
Dark-field (grazing)scratches, engravings, relief defects
Coaxialflat specular surfaces, markings
Structured light3D relief, height, volume
Multispectral / UV-IRadhesive, contamination, checks invisible to the eye

Rules or deep learning?

Classic rule-based vision stays unbeatable for crisp metrology tasks: measure, read a code, check presence. Deep learning takes over when the defect is variable and hard to describe — texture, appearance, cosmetic anomaly. Both often coexist in one cell: rules for measurement, network for appearance.

CriterionRule-based visionDeep learning
Task typemeasurement, code, presenceappearance, texture, anomaly
Data requirednone (deterministic)labelled images, or unsupervised
Explainabilityfullpartial (black box)
Tolerated variabilitylow (brittle)high (generalises)
Setup effortparameter tuningcollection + training + validation

Metrics to watch: resolution (the smallest detectable defect spans 3 to 5 pixels; resolution = field of view ÷ sensor pixels), throughput (a few milliseconds per part), and the precision/recall pair that trades false rejects against missed defects by the cost of each.

Key challenges

  • Lighting & optics first — good lighting (dome, grazing, dark-field, multispectral) solves half the problem before any algorithm. A bad image cannot be rescued by software.
  • Data & labelling — real defects are rare; augmentation, synthetic data and unsupervised learning compensate for the lack of labelled examples.
  • False rejects vs. escapes — the precision/recall setting arbitrates between needless scrap and an escaping defect; the right point depends on the cost of each.
  • Line integration & traceability — handshake with the PLC, ejection trigger, time-stamping and image storage for quality audit (often via OPC UA to the MES).

Standards & references

  • EMVA 1288 — Standard for objective camera characterization (noise, sensitivity, linearity) — to compare sensors on a like-for-like basis.
  • VDI/VDE 2632 — Machine vision guidelines: specification, acceptance and acceptance testing of systems.
  • GenICam / GigE Vision — Camera interface standards (generic transport and API) for cross-vendor interoperability.

Related standard pages

Major players

Cameras & systems

Cognex, Keyence, Basler, Sick, Datalogic, Zebra.

Vision software

MVTec HALCON, Cognex VisionPro, Adaptive Vision, OpenCV.

Deep learning & edge

NVIDIA (Jetson, Metropolis), Landing AI, Intel OpenVINO, Neurala.

See also