Machine Vision Lighting for Medical & Pharmaceutical Applications
A translucent tablet and a crinkled foil blister fail for opposite optical reasons — and patient safety leaves no room for an unreliable inspection either way.
The Physical Problem
Two very different optical failures show up constantly in pharmaceutical inspection. Tablets and capsules are often translucent or share a near-identical color with the tray or belt beneath them, so under front lighting their outline blends into the background and a vision system struggles to count or measure them reliably. Blister pack foil, meanwhile, is a crinkled, highly reflective surface: under direct lighting it throws back sharp, position-dependent hot spots that saturate the image and hide the very cavity or seal defect the inspection is meant to catch. Both problems occur on lines running at very high speed, where patient safety and regulatory compliance leave essentially no tolerance for a missed or double-counted unit.
The Optical Solution
Each failure has a distinct, well-established fix. For counting and shape verification, backlighting the tablet from behind turns it into a sharp, high-contrast silhouette regardless of its own surface color or any printed marking — the same contour-extraction principle used for any dimensional measurement, just applied to a pill on a tray. For blister foil, diffuse dome lighting illuminates the crinkled surface from every angle simultaneously, removing the single hard reflection a direct light would create and replacing it with a uniform, glare-free field where an actual seal or cavity defect stands out on its own.
Wiring & Integration Recommendations
Pharmaceutical counting often runs at several thousand units per minute: configure strobe/overdrive mode to freeze each tablet without motion blur, synchronizing the trigger through the standard M12 pinout.
Not Sure About the Optical Result?
Borrow a demo kit to test on your own bench, or send us a sample of your part for a free contrast analysis in our lab.
Test on Sample or Borrow EquipmentAsk an Application Engineer
Describe your inspection challenge and one of our engineers will recommend the right optical approach.
Recommended Lighting Formats
Integration Tools
Application Notes & Optical Challenge Resolution
Three engineering application notes showing how the right optical principle — not a different camera or software — resolves the inspection challenge.
Industrial Context
Food & Beverage / PackagingOptical Problem
Saturating glare on glossy plastic film during seal inspection.
Solution & Geometry
630nm Diffuse Dome Lighting (omnidirectional light).
Physical Result
Elimination of the specular hot spot and light homogeneity above 90%.
Industrial Context
Pharmaceutical / VialsOptical Problem
Liquid fill-level inspection through an opaque amber glass vial.
Solution & Geometry
850nm Infrared Backlight, transmitted through the tinted glass.
Physical Result
Optimal transmittance through the liquid, clean contrast on the meniscus.
Industrial Context
Metalworking / AutomotiveOptical Problem
Reading a laser-marked Data Matrix (DPM) code on a machined metal surface.
Solution & Geometry
Darkfield Grazing Light + Crossed Polarization.
Physical Result
Cancellation of directional glare, clean separation of the code's micro-relief.
Application notes based on real physical and optical principles — exact outcomes depend on your configuration and are validated during a lab sample test.