Visual inspection
Visual inspection is the use of cameras and AI models to check products, parts, or structures for defects, such as cracks, scratches, dents, contamination, or missing components. Also called automated optical inspection (AOI) or machine vision inspection, it runs on production lines and in field inspection of infrastructure, using defect detection, segmentation, or anomaly detection models trained on images of good and defective examples.
Building visual or physical AI?
Let's talk.
What is visual inspection?
Key takeaways
- Visual inspection uses cameras and models to find defects on products, parts, or structures.
- It relies on detection, segmentation, or anomaly detection, depending on how many defect examples exist.
- Defects are rare and varied, so the dataset is usually the hardest part to get right.
How it works
- Object detection draws boxes around known defect types, such as scratches or dents.
- Semantic segmentation outlines defects pixel by pixel, which helps when size or area decides pass or fail.
- Anomaly detection learns what a good part looks like and flags anything different, which works when defect examples are too rare to train on.
Find the rare defects before your model misses them
- defect types with only a handful of examples
- near-duplicate images of the same surface
- defects whose edges are hard to pin down, such as where a crack ends
Concrete Defects
1,200 images
Concrete inspection photos, ready for a labeling agent to outline cracks, spalling, exposed rebar, and corrosion with polygons, or box them faster.
Try this: Scroll the grid until you find three photos of exposed rebar, and notice how many other defect photos you pass on the way.
Free with a work or .edu email.
Go deeper
Why it matters
Frequently asked questions
What is the difference between visual inspection and anomaly detection?
What defects does visual inspection find?
Why do visual inspection models fail in production?
Related terms
