Key Takeaways
- Choose the task type first: classification, detection, segmentation, anomaly detection or measurement. It decides what data you must collect.
- Imaging sets the ceiling. Work backward from your smallest defect to a resolution in mm per pixel, then design the lighting.
- Split data by production lot, and track missed defects and false rejects instead of one accuracy number.
- Run inference at the edge inside your takt time, and wire results to the PLC and MES.
- Gate the project with go/no-go thresholds, a shadow-mode run and drift monitoring.
- SotaVision's LG Innotek deployment reported 99.99% detection accuracy and under 50 ms per unit in a factory with no internet.
Factories know what a bad part costs. The hard part is catching it at line speed, on every shift. McKinsey estimated that AI-based visual inspection may raise defect detection rates by up to 90% compared with human inspection. A later McKinsey review of the World Economic Forum's Lighthouse factories found that 77% of the top five use cases at the newest sites were enabled by analytical AI, with average gains above 50% in conversion cost, cycle times and defect rates.
Results like these do not come easily, though. A Gartner survey found that only 48% of AI projects reach production, and the move from prototype takes 8 months on average. This guide to computer vision development for manufacturing starts on the factory floor. It covers imaging, data, models, edge deployment, a delivery process with go/no-go gates, a real case, and how to choose between building and buying.
SotaTek is an AI & Blockchain Innovation Partner. Its AI development team supports manufacturers with computer vision development, from data labeling to edge deployment, including its inspection platform, SotaVision.
What Computer Vision Development for Manufacturing Involves
Computer vision development for manufacturing is the work of building software that reads camera images on a production line and turns them into decisions: pass, reject or review. It is more than a model. A working system has five parts: cameras and lighting, a data pipeline, trained models, an edge runtime that scores images in real time, and links to the PLC and MES that act on each result.
Pick the task type first, because it decides the data you need.

| Task type | Question it answers | Typical use | Data needed |
| Classification | Good or bad? | Pass/fail on a whole image | Labeled good and bad images |
| Object detection | What defect, and where? | Missing or misplaced parts | Boxes around each defect |
| Segmentation | What shape and size? | Scratches, glue spread | Pixel-level masks |
| Anomaly detection | Does this differ from normal? | Rare or unknown defects | Mostly good images |
| Measurement | Is it within tolerance? | Gaps, alignment, size | Calibrated cameras |
Rule-based machine vision still has a place. McKinsey notes that classic pixel comparison against a reference image only works when mounting and lighting stay identical and defect types are known in advance. Machine learning copes better when parts and conditions vary.
Where Computer Vision Development for Manufacturing Pays Off First

Start where defects are costly, frequent enough to collect examples, and visible to a camera. Four areas usually qualify:
- Surface defects: scratches, dents and color variation on metals, plastics and machined parts.
- Assembly checks: missing, misplaced or wrongly mounted components, plus weld and seal verification.
- Alignment and dimensions: component position, completeness and tolerance checks.
- Packaging and labels: barcodes, expiry dates and seal integrity on food and pharma lines.
Rank candidate stations by the cost of each escaped defect and by how easily you can collect examples, then pick one. A simple test helps: if a trained inspector cannot see the defect in a photo, a model will not see it either. For the business case behind these use cases, read why manual inspection stops scaling as lines get faster.
Imaging Comes First in Computer Vision Development for Manufacturing
Model quality is capped by image quality. If the defect is not visible in the image, no model can find it. Fix the imaging setup before you train anything.

- Work backward from the smallest defect. Resolution in mm per pixel equals field of view divided by sensor pixels. A 60 mm field of view across 3,000 pixels gives 0.02 mm per pixel. A defect should cover several pixels to be found reliably.
- Choose lighting for the defect. Low-angle light makes scratches stand out. Diffuse light cuts glare on shiny parts. Backlight shows outlines and holes.
- Add angles when depth matters. SotaTek's LG Innotek deployment used custom illumination and multi-angle imaging.
- Control motion and light. Trigger capture from a sensor or encoder, use short exposures for moving parts, and shield the station from ambient light.
Lock the setup once it works. A moved camera or a fading LED can change results without a single code change.
Data and Model Choices in Computer Vision Development for Manufacturing
Collect images on the real line, across shifts, lots, suppliers and lighting. Lab samples rarely match what the line produces. Defects are rare, so classes will be imbalanced. Plan to collect defect examples on purpose, or use anomaly detection.
Write a labeling guide with a defect list, severity levels and a tie-break rule. Inconsistent labels cap accuracy, and data labelling services can help when volume grows.
Split train and test data by production lot or day, not by random image. Near-identical frames from one lot leak into the test set and inflate results. Also keep a small golden set of images labeled by your most senior inspectors, and re-score every new model on it.

| Approach | Needs | Strength | Weakness |
| Supervised detection or segmentation | Labeled examples of each defect | Names the defect and its location | Misses defect types it never saw |
| Anomaly detection | Mostly good images | Flags unseen defects | Less specific, needs threshold tuning |
| Hybrid | Both | Anomaly flag plus defect class | More to maintain |
Track two numbers: missed defects (recall) and false rejects. McKinsey warns that too many false positives erode operator trust, which wipes out the benefit of automation. Set the threshold by the cost of each error, and send low-confidence results to a human review band.
Edge Architecture for Computer Vision Development for Manufacturing
Run inference next to the line. A typical data flow looks like this:
- A sensor or encoder triggers image capture.
- The camera sends the image to an edge device.
- Preprocessing crops and normalizes the image.
- The model scores the image.
- Decision logic applies thresholds and returns pass, reject or review.
- The result goes to the PLC reject gate and to the MES with the image and score.
- Images and scores are stored for review and retraining.
Your takt time sets the latency budget. If a station releases a part every 500 ms, capture, transfer, preprocessing, inference and the reject signal must all finish inside that window with margin. SotaVision reports inference under 50 ms per unit. Model export and quantization, such as ONNX and TensorRT on NVIDIA hardware, are common ways to meet a budget. Measure every step on the real line, because bench numbers for inference alone hide transfer and PLC response time.

| Factor | Edge inference | Cloud inference |
| Latency | Low and stable | Depends on the network |
| Connectivity | Works offline | Needs a reliable link |
| Data privacy | Images stay in the plant | Images leave the site |
| Cost pattern | Hardware per line | Recurring transfer and compute |
| Best for | In-line decisions | Offline analytics, training |
Most plants end up hybrid: train centrally, deploy to the edge. Expose results through REST or gRPC APIs, and use industrial protocols such as OPC UA or Modbus TCP, or plain digital I/O, for PLC signals. Smart factory services cover this wiring between inspection and plant systems.
A Delivery Process for Computer Vision Development for Manufacturing
Define go/no-go thresholds before the pilot starts. Otherwise every result becomes an argument. The AI development process gives the general lifecycle. For vision projects, use these gates:

| Stage | Work | Exit criterion |
| 1. Scope | List defects, tolerances, line speed, cost per error type | Signed-off defect catalog and KPIs |
| 2. Imaging prototype | Test cameras and lighting on real parts | Defects visible at target resolution |
| 3. Data and labeling | Capture across shifts, label with a guide | Labeled set passes quality checks |
| 4. Baseline and offline test | Train, test on held-out lots | Meets agreed recall, false reject and latency targets |
| 5. Shadow mode | Run beside inspectors without rejecting | Matches or beats human calls on live data |
| 6. Go live | Connect PLC and MES, test fail-safe behavior | Stable at line speed |
| 7. Monitor and retrain | Track drift, version models | Review cycle in place |
Shadow mode deserves extra time. It exposes cases the lab set missed, and it lets inspectors review disagreements, which builds the trust the line needs on go-live day. Define the fail-safe early too. Decide what happens when the system is down: manual inspection, reject all, or hold the line.
Failure Modes and a Real Case in Computer Vision Development for Manufacturing

Most production problems are predictable:
- Lighting drift: ambient light, aging LEDs or a nudged camera lower accuracy.
- New SKUs or suppliers: unseen appearance breaks a model trained on old parts.
- Label drift: two inspectors disagree, so the model learns the disagreement.
- Frozen thresholds: set once, never reviewed.
Counter them with drift monitoring, versioned model deployment and shadow tests before any model switch. Watch three signals: reject rate per shift, the spread of confidence scores, and average image brightness. A sudden shift in any of them can point to a change on the line before it shows up as escaped defects. SotaVision lists drift monitoring, versioned deployment and assisted labeling among its capabilities.
Here is a real case. LG Innotek Hai Phong makes smartphone camera modules, and its previous inspection solution reached about 70% accuracy. SotaTek deployed SotaVision on-premise in a no-internet environment, so engineers pre-installed and pre-configured the full software package off-site. The system checked solder glue defects and component placement. Reported results: 99.99% detection accuracy, under 50 ms per unit, a 0.3 mm smallest detectable defect and 30% less manual inspection workload, across 12+ defect types. The case shows why deployment planning belongs in the project from day one.
Build, Buy or Partner for Computer Vision Development for Manufacturing

| Option | Best when | Trade-off |
| Build in-house | You have ML and vision engineers and many unique lines | Slowest start, you own maintenance |
| Platform product, such as SotaVision | Defect types are common and you need a fast proof of concept | Less custom control, fit must be proven on your parts |
| Partner for a custom build | Parts are unusual, the environment is harsh or integration is deep | Needs a clear scope and handover plan |
Whichever route you pick, run a proof of concept on your own parts. Benchmark accuracy does not transfer between lines. Budget drivers include the number of stations, camera and optics, defect variety, labeling effort, integration depth and ongoing monitoring. Our guides on custom AI vs off-the-shelf AI and AI development cost help frame that decision.
Conclusion
Good computer vision development for manufacturing is mostly disciplined engineering: imaging that shows the defect, data that matches the line, an edge system that fits the takt time, and gates that stop weak pilots early. Start with one station and one defect family, then scale what works.
With more than 11 years of technology delivery experience and strong capabilities across AI development, industrial integration and computer vision systems, SotaTek can help you scope a proof of concept on your own production data. Contact SotaTek to plan computer vision development for your manufacturing lines.