Inspecting shiny machined aluminum parts under factory lighting at 90 pieces per minute strained human inspectors and allowed micro-burrs to slip into customer shipments. SNWN installed polarized industrial camera stations connected to rugged edge GPU boxes running custom PyTorch/ONNX models, managed centrally via cloud MLOps. Defects are now caught in real time on the line, reducing scrap and warranty returns.
Why Human Eye Fatigue Missed Micro-Defects on Fast Lines
Looking at reflective metal surfaces for eight hours straight is exhausting even for experienced quality technicians. Whenever a hairline burr or thread defect reached an automotive assembly customer, an entire pallet had to be sorted and reworked at high cost.
Key Operational Bottlenecks Before the Project
- Reflective oil sheen on freshly machined parts hid 0.3mm surface scratches from legacy rule-based cameras.
- Plant internet links could not stream raw high-frame-rate video to the cloud fast enough to trigger air-jet diverters.
- Quality managers lacked hourly data on which CNC tool wear was causing spikes in rejected parts.
How We Deployed Reliable Vision AI Right on the Factory Floor
We designed the system to run entirely on the plant floor even if external internet goes offline, syncing lightweight metrics and training samples to the cloud.
Standardized LED Dome Lighting and Industrial Camera Captures
Good vision AI starts with clean optics. We mounted diffused dome lighting and polarized PoE cameras above each conveyor exit to eliminate harsh metal glare before collecting 18,000 labeled part images.
Trained Lightweight Segmentation Models Optimized in ONNX
Using defect samples plus synthetic scratch augmentations, we trained compact segmentation models quantized to FP16 ONNX Runtime so inference completes in 28 to 42 milliseconds on fanless industrial edge boxes.

Wired Edge AI Decisions to PLC Reject Gates
When a defective part passes under the lens, Modbus/OPC-UA signals trigger a pneumatic reject chute immediately and show a zoomed bounding-box snapshot on the line supervisor's tablet.
Built a Central MLOps Pipeline for New Part SKU Rollouts
Borderline images upload overnight to a central cloud MLOps hub where quality leads label edge cases quickly and push updated model weights to all four plants via signed container updates.
Cleaner Shipments and Early CNC Tool-Wear Warnings
Instead of discovering bad batches at the shipping dock, line operators now spot drifting CNC cutting tools within five minutes of the first micro-burr.
Defect Catch Rate
Inspection keeps up with full line speed on every part.
Scrap & Rework
Early trend alerts stop worn CNC inserts before batches of parts are spoiled.
Edge Inference
Runs on fanless factory gateways with no dependency on WAN internet.
Day-to-Day Business Impact
- Customer quality chargebacks fell across tier-one automotive accounts.
- Reassigned quality technicians from repetitive eye-strain sorting to preventive process calibration.
- Onboarded 14 new part SKUs in under two weeks each using the shared MLOps pipeline.
Tools, Platforms, and Technologies Used
Every tool in this manufacturing & retail ai, ml & automation stack - including PyTorch, ONNX Runtime, NVIDIA Jetson Edge - was chosen for day-to-day stability, clear monitoring, and clean handover so internal teams never depend on black-box scripts.
Machine Learning & Computer Vision
See how our engineers plan, migrate, and run ai, ml & automation environments for manufacturing & retail teams.
Frequently Asked Questions About This Project
Does internet downtime stop the AI inspection line?
No, camera capture, edge inference and PLC reject signals run entirely on site; the cloud only handles dashboards and updates.
How many defect photos are needed to train the AI model?
Using pre-trained models and dome lighting, production accuracy typically requires 150 to 300 real defect photos per class.
How do plant operators interact with the system during a shift?
Operators use a simple touchscreen showing live pass rates, defect snapshots, and automatic alerts when machining stations drift.



