Machine vision and inspection

Machine vision has been on production lines for decades, measuring parts, reading codes and checking that components are present. AI changed one part of it: defects that are easy for a person to see but hard to describe with rules, like scratches, dents, stains, uneven welds or cosmetic flaws on molded parts. Deep learning models trained on labeled images can catch many of these where rule-based tools struggled.

The tools here split into two groups. Cognex, Keyence and MVTec HALCON come from industrial vision and run on smart cameras or industrial PCs at the line, combining classic tools with deep learning. LandingLens, Roboflow and Instrumental are newer software platforms built around training models from images, with cloud tools for labeling and review and options to run the model near the line.

Most inspection projects succeed or fail on the setup before any model is trained. Lighting, lens choice, camera position and part presentation decide whether a defect is visible at all. Collect real good and bad parts early, photograph them under production lighting, and agree with your quality team on what counts as a reject. Labels that drift between inspectors produce models that drift too.

Decide in advance how the line will use the result. A model can reject parts automatically, divert them for human review, or simply log defects for analysis. Each choice needs different accuracy, and a false reject costs scrap or rework while a missed defect can reach a customer. Run the model beside your current inspection for a period and compare both on the same parts before you trust it alone.

6 AI manufacturing tools in machine vision and inspection

Cognex In-Sight and VisionPro

by Cognex

Machine vision cameras and software, including deep learning tools, for inspection, measurement and code reading on the line.

  • Can run on premises

LandingLens

by Landing AI

Visual inspection platform for training defect-detection models from labeled images, then deploying them at the edge or in the cloud.

  • Runs as a cloud service

Instrumental

Cameras and AI software for electronics assembly lines that find defects and trace their root causes across units.

  • Runs as a cloud service

Keyence vision systems

by Keyence

Industrial vision systems and smart cameras, including AI-based inspection tools, for checking parts and assemblies on the line.

HALCON

by MVTec

Machine vision software library with deep learning functions, used by engineers and integrators to build inspection systems.

  • Can run on premises

Roboflow

Computer vision platform for labeling images, training models and deploying them, often used for custom inspection projects.

  • Runs as a cloud service
  • Has an API
  • Free plan or free tier

Line speed sets limits too. Fast lines leave only milliseconds per part, which favors processing on the camera or an edge device with a GPU. Slower stations, such as final inspection of assembled products, can afford larger models and more images per part. Ask vendors for results at your line speed, measured on your parts, before you compare accuracy figures from their brochures.

Keep a library of reference images, both good and bad, under version control, so you can retrain or audit the system later. Customers in regulated industries may also ask how the inspection was validated, so keep test results and model versions on file.

Integration matters as much as accuracy. Ask how results reach your PLC, MES or quality system, how images are stored for traceability, and who updates the model when a new product or supplier changes the way parts look.

Questions about machine vision and inspection

How many defect images does an AI inspection model need?

It varies with the defect and the product. Some platforms start with dozens of labeled examples per defect type, but rare defects are the bottleneck. Plan to keep collecting images after launch so the model improves on the cases it misses.

Should inspection run in the cloud or at the line?

Most production inspection runs at the line on a camera, edge device or industrial PC, so decisions are fast and do not depend on the network. Cloud tools are common for labeling, training and reviewing results.

Can one model handle several products?

Sometimes, if the products look similar under the same setup. Often each product or station needs its own model or retraining. Ask vendors how they handle changeovers and new part numbers.

Who should own the inspection system after launch?

Name an owner in quality or manufacturing engineering who reviews misses and false rejects, adds new images and approves model updates. Without one, accuracy slips as products and suppliers change.

Related categories