Qualitas Logo
EagleEye®
Industries
ContactBook a Demo
INDUSTRY

Automatic Part Counting Using Machine Vision and Deep Learning

Instance segmentation-based counting for sub-5 mm micro-pins to 200 mm cable assemblies — 99.5%+ accuracy in under 2 seconds per batch, with ERP integration.

99.5%+Count accuracy target
< 2 secPer-batch cycle time
0 FTEManual counting required
Automatic Part Counting Using Machine Vision and Deep Learning

The Counting Challenge

Manufacturers handling hundreds to thousands of discrete parts — across a wide size spectrum, from sub-5 mm micro-pins to 200 mm cable assemblies — face significant bottlenecks. Human counters achieve 95–97% accuracy under optimal conditions, with error rates doubling after 90 minutes of repetitive work. Miscounted shipments cause OEM assembly stoppages, expedite freight charges, and warranty exposure.

Challenge AreaObserved ImpactBusiness Risk
Manual counting fatigueAccuracy degrades from 97% to below 93% within one shiftShort-ship complaints, rework
Mixed-size batchesSmall parts missed; large parts double-countedInventory discrepancy
Overlapping / touching partsHuman eye cannot reliably separate clusters at speedSystemic undercount
High SKU varietyWrong part counted as correct; mix-in undetectedQuality escape
No audit trailNo per-batch record of count method or verifier identityCompliance / audit risk
Throughput bottleneckCount stations limit line speed; overtime costs accumulateCOGS inflation

Why Manual and Mechanical Methods Fall Short

The fundamental limitation of all non-vision methods is their inability to deal simultaneously with size variation, part proximity and mixed SKUs. Machine vision with instance segmentation resolves these constraints in a single imaging pass.

MethodLimitationFailure Condition
Manual visual count95–97% accuracy, degrades with fatigueAny high-volume batch
Weight-based estimationPart weight variation causes count driftMixed lots, worn parts
Photosensor / break-beamCannot distinguish touching partsOverlapping/clustered parts
Mechanical vibratory counterWorks only for one SKU; costly reconfigurationMulti-SKU batches
Barcode scan-and-countRequires individual part labellingSub-10 mm components
Sampling-based QCMisses localised short-count eventsEnd-of-reel/bag lots

Suggested Machine Vision Architecture

The architecture deploys a top-view area-scan camera over a backlit presentation platform with diffuse LED illumination. Parts are presented in a single spread layer; a high-resolution camera captures the full platform in one frame. A Mask R-CNN or equivalent instance segmentation model identifies and masks each individual part boundary in the image, even when parts are touching or partially overlapping. Inference completes in under 500 milliseconds on an embedded IPC.

Counting CapabilityMethodPerformancePart Size Range
Individual part detectionInstance segmentation CNN99.5%+ accuracySub-5 mm to 200 mm+
Touching / overlapping partsBoundary separation (Mask R-CNN)> 98% separation rateAll sizes
Mixed-SKU identificationClassification + geometry> 99% part-type accuracyAll sizes
Short count detectionCount vs. target threshold100% detectionAll batch sizes
Wrong part mix-in flagShape + class mismatch> 97% detection rateDistinct geometries
Cycle time per batchSingle-frame inference< 2 secondsStandard tray load

Expected Outcomes & ROI

Outcome MetricBaseline (Manual)Target (Vision)Improvement
Count accuracy93–97%99.5%+> 60% error reduction
Batch count cycle time3–8 minutes manual< 2 seconds automated> 95% time saving
Operator headcount (counting)1–2 FTE per shift0 (oversight only)1–2 FTE redeployed
Short-shipment incidents2–5% of batches< 0.1%> 97% reduction
Over-pack waste1–3% excess per batchNear zeroDirect material saving
Inventory record accuracy92–95%> 99.5%Real-time ERP sync
Payback periodTypically 10–14 monthsPositive ROI

Implementation Considerations

A phased rollout begins with a demonstration using the client's own parts within two weeks. Phase 2 deploys a benchtop station on a single line, operating parallel with manual counts over 4 weeks. Phase 3 replaces manual counting and integrates output with client ERP. Most facilities achieve full deployment within 8–10 weeks.

The full application note covers detailed system architecture, camera and lighting configuration parameters, model training methodology, integration with existing MES and ERP systems, and a step-by-step deployment checklist validated across multiple production sites.

Have a similar application?

Send us your part and inspection goal — we’ll share the most relevant approach and a feasibility view.