Data & AI
Computer Vision Quality Inspection in Manufacturing
Affix Center · · 6 min read

Manual inspection is still the norm on many Indian shop floors. An inspector checks parts under a lamp, shift after shift, looking for scratches, cracks, missing components or wrong labels. Even skilled inspectors get tired, standards drift between shifts, and a defect missed at the line becomes a customer complaint or a rejected consignment later. Computer vision quality inspection in manufacturing uses cameras and trained models to check every part the same way, at line speed, and to record what was found.
Plants in the Thane, Bhiwandi, Pune and Nashik belts are asking whether this technology is practical for their products and budgets. The honest answer is that it works very well for some inspection tasks and poorly for others. This guide explains where it fits, how a system is built, and how to run a pilot that gives a clear answer.
What Computer Vision Inspection Can and Cannot Do
Vision systems are strong at repeatable visual checks on parts presented in a consistent way. Typical tasks include:
- Surface defects: scratches, dents, cracks, stains, burrs and coating faults.
- Presence and absence: missing screws, clips, caps, seals or components on a PCB.
- Dimensions and alignment: hole positions, gaps, orientation and assembly fit, within the limits of camera resolution.
- Label and print checks: barcode and QR readability, batch codes, expiry dates and label placement.
- Colour and finish: shade variation and uneven painting or plating.
It is less suited to defects that are hidden inside a part, that need touch or sound to detect, or that vary so widely that even human experts disagree. It also struggles when parts arrive in random positions, under changing light, or covered in oil and dust, unless the setup is designed for those conditions.
Rule-Based Vision Versus Deep Learning
Rule-based machine vision
Traditional systems use fixed measurements and thresholds: edge detection, pattern matching and pixel counting. They are fast, predictable and easy to validate. They work best for precise measurement and presence checks on uniform parts.
Deep learning models
Deep learning models learn what good and bad parts look like from labelled images. They handle natural variation in texture, such as castings, fabrics, wood or food products, far better than fixed rules. The trade-off is that they need a well-labelled image set and ongoing monitoring.
Many practical systems combine both: rules for measurements and codes, and a trained model for cosmetic defects. Our data and AI services team usually starts by deciding which checks need which approach.
How a Computer Vision Quality Inspection System Is Built
- Imaging hardware: industrial cameras chosen for resolution and speed, the right lenses, and above all the right lighting. Lighting design often matters more than the model.
- Part presentation: fixtures, conveyors or robot handling that place each part in a consistent position, with a sensor to trigger the capture.
- Edge computing: an industrial PC or edge device near the line runs inference in milliseconds, so decisions do not depend on internet connectivity.
- Actions: the result drives a reject mechanism, a stack light, or a signal to the PLC to stop the line.
- Data and dashboards: images and results are stored for traceability, trend analysis and model retraining, and summaries feed MIS or MES systems.
Running a Pilot That Gives a Clear Answer
A pilot should prove or disprove value on one defect type, one product and one station. Follow these steps:
- Pick the right problem: a defect that is costly, frequent enough to collect examples, and visible on the surface.
- Write a defect catalogue: photos and written definitions of each defect class and of acceptable variation, agreed with the quality team.
- Collect images: gather good and defective samples under the final lighting setup. Include parts from different shifts, batches and suppliers.
- Label carefully: labelling quality decides model quality. Use experienced inspectors and resolve disagreements.
- Train and test offline: measure detection rate and false reject rate on images the model has never seen.
- Run in shadow mode: let the system inspect alongside human inspectors for a few weeks without controlling rejects, and compare results.
- Decide: go live, extend the pilot, or stop, based on agreed targets.
Our innovation lab can set up a bench rig with cameras and lighting to test samples before any change to the production line.
Measuring Results and Keeping the System Accurate
Track these measures from day one:
- Escape rate: defective parts that pass inspection and reach the next stage or customer.
- False reject rate: good parts wrongly rejected. Too many will cause operators to lose trust and bypass the system.
- Cycle time: whether inspection keeps up with line speed.
- Defect trends: defects by shift, machine, mould or supplier, which help fix root causes upstream.
Models can drift when raw materials, suppliers, lighting or product designs change. Set up a simple process to review borderline images, add them to the training set and retrain on a schedule. Keep old model versions so you can roll back if needed.
Point cameras at the product, not at workers. If images might capture people, remember that the Digital Personal Data Protection Act, 2023 and the DPDP Rules, 2025 apply to personal data, so limit what is captured and how long it is kept.
Preparing the Shop Floor and the Team
Technology is only part of the project. The plant has to be ready to support it. Check these points before going live:
- Stable mounting: cameras and lights need rigid mounts away from vibration. A camera that shifts by a few millimetres can confuse the model.
- Enclosures and cleaning: dust, oil mist and heat are common on Indian shop floors. Use suitable enclosures and add lens cleaning to daily checklists.
- Power and network: provide clean, backed-up power to the edge device and a wired network link to the plant server where possible.
- Operator training: operators should know what the system checks, what the alerts mean, and what to do with rejected parts.
- Clear ownership: name one person from quality and one from maintenance who are responsible for the station.
- Change control: any change to the product, material, fixture or lighting should trigger a quick review of model performance.
Plants that treat the vision station as a quality tool owned by the shop floor, not as an IT gadget, get far better long-term results.
Frequently Asked Questions
How many images are needed to train a defect detection model?
It depends on the product and defect variety. Some pilots start with a few hundred labelled images per defect class, and accuracy improves as more examples are added.
Can computer vision replace human inspectors completely?
Not always. It is best at repetitive visual checks. Inspectors remain important for borderline cases, new defect types and root cause analysis.
Does computer vision inspection need an internet connection?
No. Inference usually runs on an edge device at the line. Internet is only needed for remote dashboards, updates or cloud storage.
What does a vision inspection system cost?
Cost depends on the number of stations, cameras, lighting, handling mechanics, software and integration work. A focused pilot on one station keeps early spend low.
How Affix Center Can Help
We help manufacturers assess where computer vision quality inspection in manufacturing makes sense, build test rigs, train models and integrate results with line controls and reporting. We start with a focused pilot so decisions are based on your own parts and data.
To discuss an inspection problem on your line, contact our team.