Use Case

Perfect Vision for Perfect Contact Lenses

Automated Optical Inspection(AOI) in contact lens manufacturing

In the fast-growing world of daily disposable contact lenses—trusted by millions for clear, comfortable vision—every lens must meet uncompromising quality standards. AI-powered Automated Optical Inspection (AOI) enables 100% inspection at production speeds, safeguarding patient safety while maximizing throughput and yield.

Contact lenses are medical devices produced at high volume, requiring reliable automated inspection to ensure patient safety.
Contact lenses are medical devices produced at high volume, requiring reliable automated inspection to ensure patient safety.

Automated Optical Inspection (AOI) in contact lens manufacturing

Contact lenses are medical devices, so zero defects are non-negotiable. A tiny scratch or particle could cause discomfort or serious eye issues. Manual inspection cannot keep up with high-volume lines producing hundreds of lenses each minute, and it’s prone to human error.

High-volume contact lens manufacturing requires reliable automated inspection to ensure consistent product quality.
High-volume contact lens manufacturing requires reliable automated inspection to ensure consistent product quality.

Inline inspection in high-volume contact lens production

In modern production lines, inspection takes place before the blister pack is sealed, with the lens fully submerged in saline. At this stage, AOI must detect cosmetic and safety-critical defects while maintaining precise timing and repeatability on fast-moving conveyors.

AOI enables:

  • Patient safety through 100% inspection

  • Consistent, fatigue-free results around the clock

  • Matching production speeds without bottlenecks

  • Higher yield by catching issues early

  • Full regulatory compliance, including FDA 21 CFR Part 11, through automated logging


Inspection challenges in contact lens manufacturing

Contact lens inspection presents several unique challenges due to the transparent material, saline environment, and high production speeds.

  • Bubble vs. Particle dilemma: Air bubbles from the filling process often appear visually identical to foreign particles in darkfield images, causing false rejects and wasted good lenses.

  • Low-contrast micro defects: Micro-tears, edge chips, scratches, and haze must be detected on transparent lenses immersed in saline, where reflections and optical noise reduce contrast.

  • Micron-level defect detection: Typical defect sizes can be extremely small, often around 8–20 µm in width and 5–100 µm in length.

  • Resolution vs. throughput trade-off: Reliable detection typically requires defects to cover at least 3 pixels, leading to imaging resolutions of roughly 3–5 µm per pixel, while inspection must still keep pace with hundreds of lenses per minute.

  • Non-rigid object measurement: Hydrated lenses are soft and flexible, making accurate edge detection and dimensional measurement difficult without carefully designed optics and algorithms.

Achieving reliable detection under these conditions requires a carefully optimized combination of illumination, optics, camera resolution, and inspection algorithms.

Need help? Talk to a Vision Expert
Explore

Related use case:

In applications involving non-colored contact lenses or low-contrast conditions, SWIR imaging can be considered as an alternative approach to improve material contrast without relying solely on complex illumination setups.


Scratches and surface defects on the contact lens become clearly visible under 1300 nm SWIR illumination, revealing details that remain hidden under standard visible light.
Scratches and surface defects on the contact lens become clearly visible under 1300 nm SWIR illumination, revealing details that remain hidden under standard visible light. Illumination used is provided by CCS Inc.

Mastering illumination: The key to seeing the invisible

Inspecting a transparent contact lens immersed in saline is inherently challenging—the lens almost disappears as its refractive index closely matches the liquid, while brightfield illumination produces overwhelming glare from multiple curved surfaces.

In saline solution, the refractive index of the lens is close to the surrounding liquid, making the lens difficult to see under brightfield illumination.
In saline solution, the refractive index of the lens is close to the surrounding liquid, making the lens difficult to see under brightfield illumination.

Typical refractive indices illustrate the challenge:

  • Saline solution: ~1.336

  • Hydrogel contact lens: ~1.40

  • Silicone hydrogel lens: ~1.42

Because the difference is small, the lens boundary produces very little contrast in conventional brightfield imaging.


Darkfield illumination changes this. Low-angle lighting scatters only from surface and internal defects, leaving the lens body dark while imperfections such as tears, particles, or bubbles appear as bright features against a black background. Lens edges emerge as crisp circular rings.

This robust optical setup delivers the high-contrast images required for reliable detection—making defects stand out clearly, like dust illuminated in a sunbeam.

Machine vision architecture for reliable contact lens inspection

A typical contact lens inspection system combines darkfield illumination, precision optics, and industrial imaging.
A typical contact lens inspection system combines darkfield illumination, precision optics, and industrial imaging.

Optical configuration for transparent lens inspection

Reliable contact lens inspection requires carefully designed optical geometry and stable imaging.

Typical inspection configurations may include:

Because optical requirements vary depending on lens material and hydration state, vision solution providers often need to support system engineers in optimizing illumination geometry and validating inspection feasibility.

Talk to an optical expert
High-resolution industrial cameras capture stable images that enable reliable rule-based or AI-based defect detection.
High-resolution industrial cameras capture stable images that enable reliable rule-based or AI-based defect detection.

Reliable industrial imaging with Basler cameras

Reliable AI inspection starts with reliable images. Basler cameras provide stable, high-quality image acquisition that forms a dependable foundation for downstream image processing and AI analysis.

Basler’s industrial vision components offer:

  • High-resolution monochrome global shutter cameras for sharp, distortion-free imaging of small defects

  • Industrial interfaces such as GigE Vision for stable and reliable data transmission

  • Compact camera designs that integrate easily into space-constrained inspection machines

A wide product portfolio allows system designers to select appropriate resolution, speed, sensor size, and interface for stable image acquisition in both rule-based and AI-based inspection.

Explore Basler vision components for transparent object inspection
Inspecting hydrated contact lenses in saline is one of the most demanding optical scenarios in machine vision. With the right darkfield geometry and stable imaging, even micron-scale defects can be detected reliably at production speeds.
Basler Field Application Engineer Team Leader

Key takeaways for contact lens inspection

Contact lens inspection combines several challenging imaging conditions, including transparent materials, saline immersion, micron-scale defects, and high production speeds.

Reliable machine vision inspection requires:

  • Optimized illumination, typically low-angle darkfield, to reveal surface defects on transparent lenses

  • Carefully designed optical geometry to stabilize imaging of curved lenses immersed in saline

  • Sufficient spatial resolution to detect defects as small as 8–20 µm

  • Stable image acquisition to support both rule-based and AI-based inspection workflows

  • Balanced system design, ensuring high resolution while maintaining throughput for high-volume production lines

By combining appropriate illumination, optics, and industrial imaging components, machine vision systems can enable reliable inline inspection in modern contact lens manufacturing.

Are you ready to get started?

Learn more about our products and services and how we can help with your next project.