
In-line visual quality inspection: OK / NG in 0.1 seconds
Surface defect, missing part and assembly inspection on the line with AI. Camera and lighting setup, data collection, PLC integration and impact on scrap rate.
Visual quality inspection is one of the most tiring jobs in manufacturing. An operator looks at the same part for hours, searching for scratches, burrs, a missing screw or a wrongly fitted component. Attention drops in the second half of the shift; missed defects show up in final assembly or at the customer. AI-based visual inspection does this repetitive work in under a second, without getting tired.
What kinds of defects can be detected?
- Surface defects: Scratches, cracks, stains, paint runs, burrs.
- Missing parts / assembly errors: Missing screws, clips, seals, labels or wrong positions.
- Dimension and shape deviation: Significant differences from a reference image.
- Classification: Whether the right variant is on the right line.
Half of success is the set-up
In quality inspection, the image itself matters as much as the model. Variable ambient light, vibration or the wrong lens will make even the best model fail. That’s why quality stations typically use:
- Stable, controlled lighting (ring light, diffuse panel or angled light depending on defect type),
- Exposure and triggering matched to part speed,
- Lens and distance chosen so defects appear with enough pixel density.
Data collection and model training
Ready-made models are a good start for generic surface defects, but every product is unique. The typical process: images of both good and defective parts are collected from the line, defect types are defined and labelled together with your quality team. The model is trained and its accuracy reported on a separate test set. Once live, new defect samples are added regularly to keep the model current.
The decision must be applied on the line
If an NG decision stays in the panel, the defective part still moves to the next station. That’s why the system is integrated with the PLC: the part is removed by a rejection mechanism, or the line is stopped when a critical defect repeats. Every decision is logged with its image and timestamp; the quality team focuses on root-cause analysis instead of repetitive checks.
Learn more about our Visual Quality Inspection module and our custom model training process.
More articles
All
How does AI-based PPE detection work?
The logic behind systems that check helmets, vests, glasses and gloves per person from camera footage, the factors that affect accuracy, and what to watch for on site.
Read article
Preventing forklift – pedestrian collisions with video analytics
Can the distance between forklifts and pedestrians be measured live from a camera in warehouses and plants? A practical guide to calibration, thresholds and on-site triggers.
Read article
Why does Edge AI matter? Analysis without video leaving the site
The latency, bandwidth, continuity and privacy benefits of running AI analysis on site instead of in the cloud, and a comparison of Edge, Cloud and Hybrid models.
Read article
