​How Does a Vision Inspection Machine Catch Defects in Filled Medicine Bottles

​How Does a Vision Inspection Machine Catch Defects in Filled Medicine Bottles
2026-11-03

How Does a Vision Inspection Machine Catch Defects in Filled Medicine Bottles

You can picture a run of 10 ml glass vials that moves down a filling line at a steady pace. Most vials look the same. But one vial sits 2 mm lower than it should. Another vial has a tiny chip on the rim. That chip is barely visible under the plant lights. An operator who scans bottles all shift will likely miss both problems. A vision inspection machine does not miss them. It looks at every bottle, every time. It makes a decision in a fraction of a second. The steps below show how it does that.

Vial visual inspection machine

Bottles Are Positioned Before the Camera Ever Sees Them

A camera can only measure what it sees consistently. Star wheels or conveyor guides hold each container steady as it passes the inspection station, so the camera sees every bottle from the same distance and angle. Even a small wobble can make a correct fill look low or turn a reflection into something that looks like a crack.

Vial vision inspection
Stable positioning keeps image comparisons reliable
Consistent distance reduces false rejects
Matching angles make results repeatable from bottle to bottle
When the machine knows exactly where each bottle sits, every later step works from the same starting point.

Lighting and Cameras Capture Several Views

Once the bottle is steady, high-resolution industrial cameras take images under carefully tuned lighting. Fill level is usually measured with backlighting, since light passing through the glass and liquid creates a sharp boundary at the surface. Chips and scratches show up better under angled or ring lighting, which highlights edges and shadows.
Most systems capture several views per bottle, covering the body, shoulder, neck, and base. A defect hidden from one angle can still be caught from another. Lighting and camera settings are locked during setup, so every bottle on every shift is judged under the same conditions.

Software Measures Fill Level Against Your Target Range

After the system captures the images, the software turns them into measurements. For fill level, it finds the liquid line in the image. Then it converts its position into a height. The software compares that height against the target range you entered for that bottle. The exact tolerance is set according to your product and dose needs.

Vial pass reject sorting
This step catches underfilled vials. If the liquid line sits below the acceptable band, the bottle is flagged as short-dosed. The reject system removes it before it reaches capping. The system handles overfilled units the same way. This protects both patients and your product cost.

Software Looks for Cracks, Chips and Seal Defects

Fill level is only half the job. The software also checks the glass itself for problems that could make the bottle unsafe or not sterile. It scans the body for hairline cracks. It checks the neck and mouth for chips. For ampoules, it checks the sealed tip for tiny fractures. An operator at normal speed may not see these fractures.
Each defect type has its own detection rule. The system compares the image against a reference of a good bottle. It marks any area that differs beyond the set threshold. Resolution reaches ≥40 μm for visible foreign particles and light inspection; on the ampoule combi machine the leak-testing zone reaches ≥0.2–0.3 μm. The rules are written into the recipe. So the machine applies them the same way to every container. The machine has no fatigue and no drift between shifts.

Every Bottle Gets a Pass or Fail Decision

After the system analyzes all the images, the machine makes one decision per bottle: pass or reject. A good bottle moves on to capping and labeling. A flagged bottle is pushed off the conveyor by a small air jet or mechanical gate. The rest of the line keeps running without interruption.

Vial fill level inspection
The speed of this decision makes inspection practical at production volumes. On the MIC Rotary Auto Visual Inspection Machine (600 bpm) the full check runs at 600 containers per minute—roughly 100 milliseconds per bottle. The 400 bpm model runs at 300–400 containers per minute. Both keep pace with the line instead of slowing it down.

Different Containers Need Different Inspection Settings

Vials, ampoules, and oral liquid bottles do not look alike. So they do not get inspected the same way. Vials are usually checked for stopper seating and fill height through the glass. Ampoules need close attention at the sealed tip. A hairline crack there can be easy to miss. Oral liquid bottles often come in plastic or glass and in a wider range of shapes. So the system needs flexible recipes that can be adjusted for each product.
This is also where equipment upstream matters. If your line includes a vial filling machine, an aseptic filling machine, or an oral liquid filling machine, the inspection station usually sits after filling and capping. Catching a short-dosed or damaged bottle at that point keeps it out of labeling and packing. Fixing the problem later gets much more expensive.

Rejected Units Tell You Where the Process Is Drifting

A reject count on its own does not say much. The real value comes from patterns. If a filling nozzle starts drifting, the fill-level rejects will slowly climb. If a feeding system is scratching bottles, chip-related rejects will appear more often. Good systems store images, timestamps, batch numbers, and reject reasons. So the quality team can see these trends early.

Qualified vial collection
When a reject rate suddenly rises, the operator can check the rejected images to find the cause. Then the operator can fix it at the source. That is much more useful than simply throwing more product away.

Questions to Ask Before You Choose a System

Not every vision inspection machine suits every line. You should start with your container types. Vials, ampoules, and oral liquid bottles each need different camera setups and reject rules. Then you should look at your required speed, the defect types you most need to catch, and how much room you have on the line.
You should ask suppliers how the system handles a change in bottle size. You should ask how long a recipe switch takes. You should ask whether the software can export inspection data in a format your quality team already uses. Finally, you should request a test run with your own bottles and your real defect samples. Seeing the machine catch the problems you actually face is the most reliable way to judge it.

A vision inspection machine works by doing three things consistently. It holds each bottle still. It looks at the bottle from several angles. It compares what it sees against a clear set of rules. That combination catches underfilled vials, cracked ampoules, and damaged glass before they reach patients. If you want to see how the system would handle your containers, you should visit the vision inspection machine page and ask for a sample test.

FAQ

1. How does a vision inspection machine detect an underfilled vial?

It finds the liquid line in each bottle image. It converts its position into a height. It rejects any bottle that falls below the tolerance range you set.

2. Can it catch a hairline crack in an ampoule?

Yes, it can. Angled lighting and high-resolution images bring out fine cracks, especially around the sealed tip. These cracks are hard for an operator to spot consistently. Resolution reaches ≥40 μm on light inspection and ≥0.2–0.3 μm on the leak-testing zone of the ampoule combi machine.

3. How fast is the inspection?

On the MIC Rotary Auto Visual Inspection Machine (600 bpm) the check runs at 600 containers per minute—about 100 milliseconds per bottle. The 400 bpm model runs at 300–400 containers per minute. Exact speed depends on the model and bottle type.

4. What happens to a bottle that fails inspection?

The system removes it from the conveyor by an air jet or mechanical gate. The rest of the line keeps running. The system stores reject data for review.

5. Can one machine handle both glass and plastic bottles?

Many systems can. But the lighting, camera settings, and recipes usually need adjusting for each material and shape.

6. Does the system keep records for audits?

Yes, it does. The system can store images, timestamps, batch numbers, and reject reasons. It can export them to support quality reviews and audits.
Product Catalog