Application Background
Opaque plastic bottles are widely used for packaging products such as cleaning solutions, sprays, and personal care liquids. These containers help protect their contents from light exposure, but their opaque walls make it difficult to inspect the liquid level using the naked eye or conventional visible-light cameras.
In manufacturing and quality inspection, this can create challenges when checking filling levels, identifying underfilled containers, or monitoring the remaining liquid inside a bottle.
Short-wave infrared (SWIR) imaging offers an alternative approach. By using the transmission characteristics of certain plastics in the SWIR wavelength range, a SWIR camera can reveal the liquid inside containers that appear opaque under visible light.
This experiment evaluates the ability of the AttosTek SWIR051AU SWIR camera to image liquid levels through an opaque plastic bottle and compares the results under different illumination and filtering conditions.
Imaging Principle
Many plastics that appear opaque under visible light, including certain HDPE and PP materials, can transmit light in the short-wave infrared (SWIR) range, typically around 900–1700 nm.
Water exhibits strong absorption around 1450 nm. Differences in the optical response of the liquid and the surrounding air region can create grayscale variations in the captured SWIR image. These variations make it possible to distinguish the liquid-filled area from the empty space inside a container.
In addition, SWIR illumination and wavelength-matched optical filters can help improve image contrast by controlling the illumination and spectral range reaching the camera.
Experimental Setup
The experiment used an opaque plastic bottle containing cleaning liquid as the test sample. A visible-light camera was used for comparison, while the SWIR camera captured images under different illumination and filtering conditions.
| Equipment | Model / Specification |
|---|---|
| SWIR Camera | AttosTek SWIR051AU |
| Visible-Light Camera | AttosTek VIS028CU3.2-NC |
| Light Source | 1300 nm infrared light source |
| Optical Filter | 1300 nm infrared filter |
| Test Sample | Opaque plastic bottle containing cleaning liquid |
| Environment | Indoor environment, 25°C |
Experimental Procedure
- Fix the SWIR051AU camera and position the plastic bottle at the center of the camera’s field of view.
- Adjust the camera focus and aperture to obtain a clear image.
- Set an appropriate exposure time using manual or automatic exposure mode.
- Capture images under four conditions: direct SWIR imaging, 1300 nm illumination, a 1300 nm optical filter, and a combination of the 1300 nm illumination and filter.
- Capture a comparison image using the VIS028CU3.2-NC visible-light camera under the same sample positioning.
Experimental Results and Analysis
1 Image Comparison
The visible-light camera could only capture the outer surface of the opaque bottle. The liquid inside was not visible.
In contrast, the SWIR051AU revealed the liquid level through the bottle wall. The liquid-filled region appeared darker, while the region without liquid appeared brighter, creating a visible boundary between the two areas.
The effects of different imaging conditions were as follows:
| Imaging Condition | Observed Result |
|---|---|
| Visible-light camera under ambient light | The bottle appeared opaque, and the internal liquid level was not visible. |
| SWIR051AU under direct imaging | The liquid and empty regions were distinguishable, with a visible boundary. |
| SWIR051AU with 1300 nm illumination | Overall image brightness increased, and the difference between the two regions became more pronounced. |
| SWIR051AU with a 1300 nm filter | The filter helped isolate the selected wavelength range and improved the visible grayscale difference. |
| SWIR051AU with both 1300 nm illumination and filter | The image showed the clearest liquid-level boundary among the tested conditions. |
2 Quantitative Analysis
| Imaging Condition | Normalized Grayscale Difference |
|---|---|
| Direct SWIR imaging | 0.10 |
| With 1300 nm illumination | 0.15 |
| With 1300 nm optical filter | 0.16 |
| With both 1300 nm illumination and filter | 0.18 |
The normalized grayscale difference increased from 0.10 under direct imaging to 0.18 when both the 1300 nm illumination and optical filter were used. This indicates improved grayscale separation between the liquid-filled and empty regions under the tested conditions.
Conclusion and Potential Applications
The experiment demonstrates that the AttosTek SWIR051AU camera can reveal liquid levels inside an opaque plastic bottle that cannot be inspected effectively with a conventional visible-light camera.
Among the tested configurations, combining a 1300 nm infrared light source with a matching optical filter produced the largest normalized grayscale difference and the clearest liquid-level boundary.
This imaging approach may be useful in several industrial inspection scenarios, including:
- Personal care and household products: Liquid-level inspection in opaque spray bottles, detergent containers, and cosmetic packaging.
- Food and beverage packaging: Inspection of liquid levels in light-blocking bottles and opaque sauce containers.
- Chemical and laboratory supplies: Non-contact monitoring of liquid levels in opaque reagent and chemical containers.
- Pharmaceutical packaging: Liquid-level inspection in light-protective plastic bottles and containers.
The SWIR051AU provides a potential imaging solution for non-contact liquid-level inspection where visible-light imaging is limited by opaque packaging materials.