Qualitas Logo
EagleEye®
Industries
ContactBook a Demo
PHARMA

Visual Inspection Automation for Pharmaceutical Vials & Ampoules

Automated cosmetic, container, and particulate inspection of glass vials and ampoules at injectable line speed — with a validated audit trail per USP <790> and EU GMP Annex 1.

300+Vials/min throughput
≥150 µmParticulate detection
< 1%Typical false-reject rate
Visual Inspection Automation for Pharmaceutical Vials & Ampoules

The Inspection Challenge

Visible particulates represent the leading cause of recalls for sterile injectables, accounting for approximately 22% of recall events in FDA reviews. Every glass vial and ampoule must be inspected for visible particulates, container damage, fill anomalies, and closure integrity defects per USP <790>, USP <1790>, EP 2.9.20, and JP 6.06.

At injectable line speeds of 300–600 vials per minute, manual inspection proves infeasible. Trained inspectors manage only 5–10 units per minute with degradation due to fatigue. Automated systems must detect visible particulates of approximately 150 µm and larger at 70% or higher probability of detection while screening for cosmetic, container, and closure defects.

Quality DimensionWhy It Matters
Patient safetyVisible particulates in injectables can cause embolism, phlebitis or immune reactions
Regulatory exposureParticulate findings drive a large share of FDA recalls, warning letters and 483 observations
Container integrityCracks, chips or seal defects compromise sterility and shelf life of parenteral products
Dose accuracyFill level deviation outside specification affects dose delivered and labelled volume claim
Throughput economicsManual inspection caps at 5–10 vpm/inspector; modern fill-finish lines run at 300–600+ vpm
Brand & supply continuityA single particulate recall can halt a product line for weeks and impact public health supply

Why Traditional Inspection Falls Short

LimitationOperational Consequence
5–10 vpm per inspectorA 300 vpm line would require 30–60 active inspectors — operationally infeasible
Fatigue & attention driftDefect detection rates fall measurably across a shift, especially on transparent glass
Operator-to-operator variabilityRe-inspection studies routinely show 15–30% variation between certified inspectors
Reflective, transparent glassSubtle cracks and ≥150 µm particles are easily masked by surface glare and meniscus
Subjective grey-zone callsBorderline cosmetic vs. critical defects classified inconsistently without a digital record
No image-level audit trailManual decisions cannot be re-verified, frustrating CAPA and root cause analysis
Limited Annex 1 alignmentEU GMP Annex 1 (2022) places stronger expectations on contamination control and data

The Machine Vision Approach

The system operates as three coordinated inspection stations sharing a common controller, defect ontology, and traceability layer. Station 1 (Spin-Detect Particulate Inspection) holds the vial briefly, spins it, and abruptly stops. Inertia keeps any free-moving particulate in motion while fixed cosmetic features remain stationary — 4–8 high-speed cameras at up to 2000 fps detect particles from approximately 150 µm upward.

Station 2 (360° Body, Fill & Stopper Verification) uses six cameras around the conveyed vial to capture full 360° views. Rule-based vision detects cracks, chips, fill level deviation, and stopper position; deep-learning classifiers handle cap dents, crimp anomalies, and ampoule tip-seal flaws. Station 3 (Cap, Crimp and Code Verification) verifies presence, colour, and crimp integrity, while an OCR/OCV pipeline reads batch and expiry codes graded against ISO 15415 print quality criteria.

Defect CategoryStationDetection Method
Visible particulates (≥150 µm)Station 1Spin-Detect motion analysis, multi-camera
Glass cracks & body chipsStation 2Rule-based edge & contour analysis
Neck and heel defectsStation 2Rule-based with DL fallback for ambiguous cases
Fill level deviationStation 2Sub-pixel meniscus localisation
Stopper position & integrityStation 2Profile measurement + DL classifier
Discoloration & hazeStation 2Colour-space and turbidity analysis
Ampoule tip-seal defectsStation 2DL classifier on top-of-tip imagery
Cap, flip-off and crimpStation 3Top-down rule-based with DL classifier
Batch code & GS1 DataMatrixStation 3OCR/OCV + ISO 15415 grade

Expected Outcomes & ROI

OutcomeIndicative Target
100% inline inspection coverageEvery produced unit inspected for particulates, cosmetic and closure defects
Particulate detection sensitivityVisible particulates from ≥150 µm at ≥70% PoD (USP <1790> alignment)
False-reject rateTypically < 1% on stable SKUs; varies with product complexity and model maturity
Line throughput300+ vials per minute sustained; configurable to higher speeds
Operator deploymentInspectors reassigned from inline to AQL, CAPA and validation roles
Audit trail & data integrityUnit-level images, decisions and signatures retained per 21 CFR Part 11
CAPA enablementImage-backed root cause analysis available within minutes of reject
Annex 1 / cGMP alignmentContinuous data supports contamination control strategy and PQR

Implementation Considerations

Deployment follows a phased approach designed to fit around existing fill-finish operations and qualification schedules. A site survey and product/defect characterisation study precede mechanical integration so that camera positions, lighting geometry, and reject actuator timing are sized to the actual container geometry, fill product, and conveyor.

Following installation, the system is challenged with a customer-specific defect library including reference standards from a qualification kit. A documented qualification package accompanies the system and plugs into the customer's validation lifecycle, covering IQ/OQ/PQ protocols and installation/performance qualification.

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.