Qualitas Logo
EagleEye®
Industries
ContactBook a Demo
FMCG

Bottle Cap Counting with In-Line Defect Detection

Single AI camera simultaneously counts bottles and detects missing, skewed, wrong-colour, and cracked caps in one inference pass — with a FSSAI-compliant timestamped image archive.

99%+Count + inspect accuracy
2–18 FPSAdaptive frame rate
4-in-1Defect types — one pass
Bottle Cap Counting with In-Line Defect Detection

The Quality Gap Before the Carton Closes

India's packaged drinking water sector, valued at approximately ₹38,000 crore in 2024 with annual growth of 13–15%, relies on regional bottlers operating at 60–200 bottles per minute. The accumulation conveyor between capper and packing station represents the final inspection opportunity before sealed cartons reach retail. The capper's torque sensor confirms tightening force but cannot detect a skewed thread, a wrong-colour cap from a batch changeover, or a hairline crack.

MethodLimitationImpact at Packing Gate
Torque / Capper SensorConfirms capping force only — no visual check for angle, colour, or post-cap damageSkewed and wrong-colour caps pass undetected
Photoelectric Beam SensorBinary presence/absence only; no classificationCounts bottles but cannot flag any cap defect type
Manual Spot-CheckOperator samples 3–5 bottles per 100 at reduced attention; fatigue degrades to <70% catch rateSystematic defects persist into carton packing
Weight-Based Carton CheckTolerances set for fill variation; a single missing cap (≈2 g) is within noise floor of most checkweighersMissing-cap bottles pass as correctly packed
End-of-Line SamplingPost-pack inspection cannot open sealed cartons economicallyRework cost is 4–6× higher than inline rejection

AI Video Analytics Approach

Qualitas Technologies deploys an overhead industrial camera with diffuse dome LED illuminator above the accumulation conveyor, feeding a YOLOv8-based inference pipeline on edge IPC. The system performs count and defect detection in a single forward pass per frame. At 60–120 bottles/min the system operates at 8–12 FPS; at 121–200 bottles/min it escalates to 15–18 FPS via motion pre-filter.

A custom YOLOv8 model outputs per-frame detections with class labels: GOOD_CAP, MISSING, SKEWED, CRACK, WRONG_COLOUR. Virtual count line triggers confirmed count event as each bottle crosses it; associated class label logged simultaneously. Defect events trigger sub-100 ms air-jet or divert-gate reject signal via PLC interface, removing flagged bottles before carton loading.

Detection ScenarioTechnical ApproachPerformance
Missing capAbsence detection — no cap-class bbox in bottle ROI> 99.5% detection rate; near-zero false reject
Skewed / tilted capBounding-box aspect ratio + angle estimation from cap contour> 97% at skew angles ≥ 3° at 200 bottles/min
Wrong-colour capColour histogram + per-class DL classifier in single pass> 98% on 8 concurrent cap colour classes
Cracked / damaged capEdge detection + crack segmentation on cap surface region> 95% for cracks ≥ 0.3 mm width under dome lighting
Count mismatchVirtual count line + ByteTrack ID persistence per bottle> 99% count accuracy at 60–200 bottles/min
Batch changeover errorWRONG_COLOUR class triggers colour mismatch alarm with batch IDAlerts within 1 bottle of first wrong-colour cap
Reject signalSub-100 ms PLC output; air-jet or divert gate compatibleTested on Siemens S7 and Allen-Bradley ControlLogix

Expected Outcomes & Return on Investment

Outcome MetricBaseline (Current Line)With Qualitas AI System
Cap Defect Escape Rate0.3–0.8% of production at 200 bpm< 0.05% — near-zero carton entry
Count Accuracy96–98% (beam sensor)> 99% with per-bottle image record
Wrong-Colour Cap Catch Rate< 70% at manual spot-check rate> 98% — alarm within 1 bottle
FSSAI Audit ReadinessManual paper logs; no image evidenceTimestamped JPEG archive per shift, exportable
Retail Return Rate (Cap)Varies; 0.1–0.3% of shipped cartonsTarget < 0.01% with inline quality gate
Capper Wear DetectionReactive — noticed after complaintsProactive — skew rate trend flags capper maintenance
Payback PeriodTypically 10–16 months on a 100k-bottle/shift line

Implementation Considerations

The adaptive FPS architecture keeps hardware to an entry-level NVIDIA Jetson AGX Orin IPC, a single 5 MP GigE camera, and a dome LED panel — a total hardware footprint that typically occupies 400 × 400 mm of conveyor headspace with no line modification required. Stainless steel IP65-rated enclosures are standard for food and beverage environments.

Detection model training uses 1,000–3,000 annotated frames per cap colour class captured under production dome lighting. Recipe system stores per-SKU cap colour profiles; at SKU changeover, operator selects new recipe on HMI and system switches colour-class thresholds in under 30 seconds, with automatic validation on first 20 bottles of new run.

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.