SWIR Camera Lens for Imaging Through Packaging: Fill Level, Hidden Contents, Seal Areas and Foreign-Material Inspection
Packaging can hide exactly the information a quality-control system needs to verify. Printed plastic films, dark containers, paper wraps, translucent pouches and multilayer packs may make it difficult for visible-light cameras to confirm whether the correct product is present, whether a liquid is filled to the required level, whether food is trapped inside a sealing zone, or whether foreign material remains inside a closed package. Short-wave infrared imaging can solve some of these problems because many packaging materials that appear opaque or highly obstructive in visible light become partially transmissive at selected SWIR wavelengths, allowing the imaging system to obtain information from behind or through the package. This capability is particularly valuable in non-destructive inspection because the package can remain closed while the machine checks internal conditions that cannot be evaluated reliably from surface appearance alone. Current industrial imaging references specifically document SWIR use for concealed packaging contents, liquid fill-level visibility and inspection through plastic or paper wrapping.
For engineers searching for a SWIR camera lens for packaging inspection, SWIR lens for fill level inspection, infrared camera lens for hidden content detection, SWIR lens for seal inspection, 900–1700 nm lens for food packaging, or SWIR camera lens for foreign material detection, the central design question is not whether SWIR can universally “see through packaging.” It cannot. The package material, pigment, thickness, printed layer, contents and selected wavelength determine how much radiation passes through and whether useful contrast survives. The Kyptec Automation® SWIR Camera Lens collection gives OEMs and machine-vision integrators a focused set of 8.5 mm, 12.5 mm, 25 mm, 35 mm and 50 mm focal lengths for compatible 900–1700 nm, 2 MP, 2/3-inch, F1.4 C-Mount systems, allowing optical geometry to be adapted to wide packaging lines or tightly framed inspection zones while staying within a dedicated SWIR lens portfolio.
Why Some Packaging Becomes Easier to Inspect in SWIR
A package that looks opaque to the human eye does not necessarily remain opaque at every infrared wavelength. Polymer films, paper-based wraps and some printed packaging structures can transmit significantly more radiation at selected SWIR wavelengths than they do in visible light. Their absorption and scattering behavior changes with wavelength, and this can reduce the visual dominance of inks or printed graphics while allowing information from the product underneath to reach the camera. Industrial packaging research specifically notes that certain materials that are non-transparent in visible imaging can appear transparent or translucent to SWIR cameras between roughly 900 and 1700 nm.
This effect should be viewed as a wavelength-dependent transmission opportunity rather than a guaranteed see-through capability. A clear polymer film, a heavily pigmented pouch, a metallized laminate and a foil structure can behave very differently. Even two packages made from nominally similar plastics may have different additives, thicknesses or print layers that change SWIR transmission. A reliable machine should therefore be developed using the actual packaging material that will run in production.
The SWIR camera lens contributes by collecting the transmitted or reflected radiation and mapping hidden features onto the detector with sufficient contrast, spatial detail and field coverage for the inspection algorithm to make a repeatable decision.
Through-Packaging Inspection Is a Transmission Problem Before It Is a Vision Problem
When the goal is to look inside a closed package, the complete optical path must first allow enough useful radiation to pass through the outer material. If the package blocks nearly all energy at the selected wavelength, increasing software complexity will not reveal the hidden contents.
A practical development sequence therefore begins by measuring package transmission or simply testing representative samples at several SWIR wavelengths. The strongest wavelength is not necessarily the one where the package itself looks most transparent; it is the wavelength that creates the best difference between the hidden feature and its background.
For example, a liquid fill boundary may become particularly visible at a wavelength where the package transmits well but the liquid absorbs strongly. A seal contamination problem may require a wavelength where the film transmits sufficiently while the trapped food or foreign substance produces contrasting spectral behavior.
This is one of the most important principles in SWIR packaging inspection: optimize for the hidden feature, not for package transparency alone.
Fill-Level Inspection Through Opaque or Printed Containers
Liquid fill-level inspection is a particularly strong SWIR application because some containers that look dark or opaque under visible illumination transmit enough SWIR energy to reveal the liquid boundary inside. At the same time, water-containing liquids can absorb strongly in parts of the SWIR spectrum, creating a clear difference between the filled and unfilled regions of the container.
Published industrial examples show fill levels visible through packaging under SWIR illumination, including around wavelengths where water absorption is strong.
A fill-level system generally needs a stable geometric reference. The machine should know where the acceptable fill zone is located in the image and compare the detected liquid boundary with that tolerance window. This is different from measuring precise moisture concentration. The inspection simply needs enough contrast to distinguish the liquid-filled portion of the container from the headspace above it.
The lens must therefore provide a field large enough to capture the relevant container region while maintaining sufficient vertical sampling to locate the fill boundary consistently.
Why Water-Containing Products Can Create Strong Fill-Level Contrast
Water has strong absorption bands in the SWIR region, so aqueous products can appear distinctly different from empty container regions at appropriately selected wavelengths. This is useful in beverages, pharmaceutical liquids, chemical containers and other filled products where the package itself may obscure visible inspection.
However, the exact response depends on the liquid composition. Oils, solvents, powders and non-aqueous products may behave differently, and a wavelength that works well for one product should not automatically be used for another.
During development, image empty containers, correctly filled containers, underfilled containers and overfilled containers using the same illumination and exposure. The purpose is to determine whether the liquid boundary remains stable despite variations in package printing, wall thickness and product position.
A dedicated 900–1700 nm lens portfolio such as the Kyptec Automation® SWIR Camera Lens range provides the wavelength compatibility needed for this type of test while leaving focal-length selection to the machine geometry.
Hidden-Content Verification Inside Sealed Packages
Some packaging lines need to verify presence rather than exact fill height. A sealed pouch may need one product insert, a medical pack may need every component present, or a food package may need confirmation that a portion is actually inside before sealing or shipment.
SWIR imaging can be useful when the outer wrapper becomes sufficiently transmissive for internal objects to create contrast. Published examples show contents visible through plastic and multilayer paper wrapping under SWIR conditions.
A presence/absence inspection is often simpler than full material identification. The system may only need to determine whether expected internal shapes or intensity regions are present. However, if multiple contents overlap or the package position changes significantly, the lens field and object sampling must be large enough for the algorithm to separate the internal structure from packaging wrinkles and print.
This is where optical design directly affects inspection robustness. A hidden component represented by only a few pixels may disappear when the package shifts or the printed layer becomes thicker.
Seal-Area Inspection Through Printed Plastic Film
Seal integrity often depends on keeping the sealing surfaces free from product contamination. Food particles, liquid, fat, powder, fibers or other material trapped in the seal can interfere with the sealing process and create leakage risk, even when the closed package looks acceptable from the outside.
SWIR inspection is particularly valuable when the sealing film is printed and visible-light cameras cannot clearly distinguish contamination beneath it. Industrial hyperspectral systems have demonstrated detection of product trapped in seal regions through printed plastic film when the film transmits sufficiently in the relevant near-infrared/SWIR wavelengths.
The optical objective is not simply to see through the entire package. The system needs high contrast specifically in the narrow seal band. This usually favors tighter framing than full-package inspection because the seal region should occupy enough sensor pixels for small contamination to remain detectable.
Why Seal Contamination Can Be Easier to Find Spectrally Than Visually
Printed packaging can create a high-contrast visual pattern that hides subtle defects underneath. Logos, text, decorative colors and barcodes may dominate an RGB image even when the actual defect is a small piece of product in the sealing zone.
At selected SWIR wavelengths, some printing can become much less prominent while organic material or moisture-rich contamination maintains a different response. The result can be a simplified image in which the physical defect becomes easier to isolate.
That simplification is valuable because machine vision algorithms generally perform better when the unwanted visual structure is reduced optically rather than removed computationally after acquisition.
The correct SWIR camera lens therefore supports not only image formation but the broader goal of spectral simplification—using wavelength to suppress irrelevant appearance while preserving the feature that matters.
Foreign-Material Detection Inside Packaging
Foreign-material inspection is another important use case, but its effectiveness depends on whether the contaminant differs sufficiently from the intended product at the selected wavelength. SWIR can reveal compositional differences between organic materials, plastics, moisture-rich substances and other foreign matter that may be hard to distinguish in visible light. Current 900–1700 nm hyperspectral inspection examples demonstrate separation of foreign objects from food products based on spectral differences.
Inside packaging, the problem becomes more demanding because the system must detect the contaminant through another material layer. The package transmission, product spectrum and contaminant spectrum all combine in the measured pixel.
This means a foreign-material inspection should never be designed from generic samples alone. The machine should be qualified using the exact product, packaging film and realistic contaminant classes expected in production.
Why Not Every Foreign Object Can Be Detected With SWIR
SWIR is powerful, but it is not a universal foreign-object detector. Two materials with similar spectral behavior can remain difficult to separate, and very small contaminants may be below the spatial resolution of the system. Metallized packaging can also block the optical path entirely.
The correct question is therefore not, “Can SWIR detect foreign material?” but, “Does the target contaminant produce sufficient optical or spectral contrast through this particular package at the required size?”
This distinction matters commercially because inspection reliability must be demonstrated for the actual hazard classes the production line cares about. If stone, plastic, bone, product residue or another contaminant is the target, each needs individual validation rather than one generalized accuracy claim.
Packaging Material Must Be Tested Before Lens Geometry Is Finalized
If the packaging itself does not transmit sufficient energy, changing focal length will not solve the problem. The package should therefore be tested before mechanical design is finalized.
A useful evaluation set includes unprinted film, printed film, maximum print coverage, minimum and maximum material thickness, empty packaging, correctly filled packaging and known defective samples. If several suppliers provide the same packaging format, samples from each supplier should be included because resin formulation, coating or ink differences can change SWIR behavior.
Once the transmissive wavelength region is established, focal length can then be selected according to the package dimensions and smallest internal feature.
Wide Packaging Lines and the Kyptec Automation® 8.5 mm Option
Where one camera must observe a broad section of a conveyor or several packages at once, a shorter focal length may be appropriate. The Kyptec Automation® KL-1408 8.5 MM SWIR Camera Lens provides the widest focal-length option in the current portfolio while maintaining the published 900–1700 nm range, 2 MP resolution, 2/3-inch format, F1.4 aperture and C-Mount configuration.
This type of geometry can be evaluated for large package formats, multipack inspection or conveyor layouts with limited camera stand-off. The trade-off is spatial sampling: the wider the field, the fewer sensor pixels represent each millimetre of seal area, fill boundary or foreign object.
The shortest focal length should therefore be used because the process genuinely needs the coverage, not merely because a wider image appears convenient.
When 12.5 mm Provides a Better Balance Between Coverage and Detail
Some packaging lines require a wide view but do not need the maximum field provided by 8.5 mm. In such cases, the Kyptec Automation® KL-1410 12.5 MM SWIR Camera Lens can provide a useful intermediate geometry.
For medium-size pouches, trays, bottles or packages, a slightly tighter field allows more of the available sensor area to be devoted to the actual inspection region. This can improve the representation of fill boundaries, seal contamination or internal components without forcing the camera into an excessively narrow view.
As with every model in the Kyptec Automation® SWIR Camera Lens portfolio, selection should be based on the real package dimensions and inspection tolerance rather than focal length in isolation.
Transmitted Illumination Versus Reflected Illumination
Through-packaging inspection often benefits from backlighting because the hidden feature modifies radiation passing through the package. This can create strong silhouettes or intensity boundaries for presence checks, fill-level inspection and seal-area analysis.
Reflected illumination can still be useful when backlighting is mechanically impossible or when the feature produces more useful reflectance contrast than transmission contrast.
The choice should be determined experimentally. A package that looks almost opaque in reflection may reveal its contents clearly in transmission, while another package may scatter backlight so strongly that reflected geometry performs better.
The lens should then be positioned and focused around the chosen illumination path rather than treated independently from it.
Why Printing, Ink and Decorative Layers Must Be Included in Validation
A prototype built using unprinted packaging can give an unrealistically favorable result. Production film may contain dense graphics, metallic-looking inks, multilayer labels or variable print coverage.
Some printing becomes relatively transparent in SWIR, which can be extremely useful, but not every ink or coating behaves the same way. Industrial examples show that printed film can become transmissive enough for internal inspection, while some printed elements may remain visible.
The production test should therefore include the most difficult print region, not only the clearest part of the package.
For rotating bottles or randomly oriented packs, the algorithm may also need to tolerate changing print positions across the field.
Detecting Product Trapped in Zippers, Closures and Vacuum-Seal Areas
Flexible packaging introduces specific defects beyond heat-seal contamination. Product can become trapped in a zipper, closure channel or vacuum-seal region and prevent the package from sealing correctly.
SWIR backlighting can sometimes reduce the visibility of printed artwork while preserving the shape or spectral response of product trapped in the closure. Published machine-vision examples show SWIR illumination being used to expose zipper and vacuum-seal areas through printed bags.
These applications usually require a narrow region of interest rather than full-package analysis. The best optical design therefore dedicates enough pixels to the closure geometry that small trapped fragments remain visible.
25 mm for Controlled Package and Seal Inspection
A localized inspection station may benefit from the Kyptec Automation® KL-1412 25 MM SWIR Camera Lens. This medium focal length can be considered where a single package, seal band or selected internal region needs to occupy more of the 2/3-inch sensor.
Such framing is useful when the smallest foreign object or seal contamination would be under-sampled in a wider conveyor view. Increasing target representation improves the number of pixels available for segmentation and classification while reducing unused background.
The advantage comes from image scale rather than from assuming that one focal length has inherently better spectral capability than another.
Package Wrinkles, Curvature and Orientation Can Change the SWIR Signal
Flexible packaging rarely stays perfectly flat. Wrinkles alter the path of illumination, curved bottle walls refract transmitted light, and package orientation can change reflection and transmission.
These geometric effects can produce false intensity variation that resembles an internal defect.
Production testing should therefore include realistic package motion, wrinkling and rotation. The classifier should not be trained only on carefully flattened samples.
For containers with curved walls, positioning guides or controlled presentation may substantially improve inspection consistency because they reduce the optical variation before image processing begins.
Why Exposure Time Matters on Fast Packaging Lines
Through-package imaging can involve significant optical attenuation because radiation must pass through the packaging layer and sometimes through part of the product. If the conveyor moves quickly, exposure time cannot simply be increased indefinitely because motion blur will soften seal edges and internal objects.
The F1.4 aperture specified across the Kyptec Automation® SWIR Camera Lens family provides useful light-gathering capability for compatible systems, but the final exposure still depends on illumination power, package transmission, sensor sensitivity and line speed.
A successful production design should therefore be validated at full conveyor speed and with the darkest or least transmissive acceptable packaging condition.
Using 35 mm for Detailed Seal and Foreign-Material Inspection
When the machine needs a tighter field around a seal band or small internal zone, the Kyptec Automation® KL-1414 35 MM SWIR Camera Lens provides a longer focal-length option within the current portfolio.
This can be useful for small foreign-material targets or localized package defects where allocating more pixels to the relevant region is more important than seeing the complete package.
A tighter optical field can also reduce the influence of unrelated printing and package structure by excluding portions of the scene the algorithm does not need.
Why 50 mm Can Suit Narrow Inspection Windows and Greater Stand-Off
For machines with a larger camera-to-package distance or very small inspection windows, the Kyptec Automation® KL-1416 50 MM SWIR Camera Lens offers the longest focal length in the current Kyptec Automation® SWIR range. Its verified specifications remain 900–1700 nm, 2 MP, 2/3-inch, F1.4 and C-Mount.
A 50 mm configuration can be useful when a specific seal segment, fill region or hidden component needs to occupy a substantial portion of the sensor from greater stand-off. It should not be treated as automatically better than shorter lenses; its value comes from fitting a narrower inspection geometry.
Why Kyptec Automation® SWIR Camera Lenses Fit Packaging Inspection Development
Packaging applications rarely share one field-of-view requirement. A bottling line may need a vertical view through an opaque container, a flexible pouch machine may need a wide seal band, and a pharmaceutical package may need tightly framed component verification. A focal-length family is therefore more useful than a single fixed geometry.
The Kyptec Automation® SWIR Camera Lens collection provides five focal lengths from 8.5 mm through 50 mm within one focused 900–1700 nm SWIR category. Kyptec Automation® also positions its SWIR optics for advanced material and quality-control applications where conventional visible imaging is insufficient, making the portfolio a practical choice for OEMs developing non-destructive package-inspection stations.
The strongest implementation is to first verify that the actual package and hidden feature create usable SWIR contrast, then choose the Kyptec Automation® focal length that places that feature on the sensor with sufficient detail for repeatable production inspection.
Frequently Asked Questions About SWIR Camera Lenses for Through-Packaging Inspection
1. Can a SWIR camera see through plastic packaging?
It can see through some plastic packaging at selected SWIR wavelengths, but not all plastics are transmissive. Polymer type, additives, pigmentation, film thickness, printing and multilayer construction all influence transmission. Industrial research confirms that many plastic and packaging materials can become more transparent in the 900–1700 nm region, but the actual package should always be tested before system design is finalized.
2. Can SWIR see through printed packaging?
Often it can reduce the visual impact of printing enough to reveal features underneath, but this depends on the ink and packaging material. Some printed films have been successfully inspected in SWIR for seal contamination and hidden contents, while other inks may remain visible. Production validation should therefore use the heaviest and most complex print regions rather than assuming all graphics disappear.
3. Can SWIR detect liquid fill level through an opaque bottle?
Yes, when the bottle material transmits enough SWIR radiation and the liquid produces sufficient contrast. Water-containing liquids can absorb strongly at certain SWIR wavelengths, making the filled portion of a container distinguishable from the headspace. Current industrial examples specifically demonstrate liquid-level visibility through packaging using SWIR imaging.
4. What wavelength is best for SWIR fill-level inspection?
There is no single wavelength for every product. The correct choice depends on container transmission and liquid absorption. Water-rich liquids often provide useful contrast near strong water-absorption regions, while non-aqueous products may require different wavelengths. Test the actual container and product at several SWIR wavelengths before selecting the final illumination.
5. Can SWIR detect missing products inside sealed packages?
Yes, when the outer package is sufficiently transmissive and the internal product creates enough contrast. The system can then perform presence/absence checks or verify internal arrangement without opening the package. The package must still be tested under real print, thickness and orientation conditions because transmission can vary significantly.
6. Can SWIR inspect a heat-seal area through printed film?
Yes, this is a recognized use case when the sealing film transmits the relevant infrared wavelengths. Product particles, liquid or other contamination trapped in the sealing region can alter the spectral or intensity response and become visible even when surface printing makes visible-light inspection difficult.
7. Can a SWIR camera find foreign material inside food packaging?
It can detect some foreign materials if they differ sufficiently from the intended food in spectral response and remain visible through the package. Detection is not universal, and each target contaminant must be validated separately. The smallest object must also occupy enough pixels for reliable classification.
8. Does metallic or foil packaging work with SWIR through-package inspection?
Often it is much more difficult because metallic layers can strongly block or reflect the optical path. A package that contains an opaque metallic barrier may prevent useful SWIR transmission entirely. The actual laminate construction should therefore be evaluated before committing to a through-package system.
9. Why can a package look opaque in visible light but transparent in SWIR?
Material absorption and scattering change with wavelength. A polymer or paper layer that blocks visible wavelengths may transmit selected longer wavelengths more effectively. This wavelength-dependent behavior is what allows SWIR cameras to reveal internal structures in some apparently opaque packages.
10. What focal length should I use for SWIR packaging inspection?
Choose focal length from package size, camera distance and the smallest internal feature that must be detected. Wide systems may use shorter focal lengths such as the Kyptec Automation® KL-1408 8.5 MM SWIR Camera Lens, while seal or foreign-material stations may benefit from 25 mm, 35 mm or 50 mm options that allocate more sensor pixels to a smaller region.
11. Can SWIR detect product trapped in a zipper or vacuum seal?
Yes, in suitable packaging. SWIR backlighting can make printed bag material more transmissive while preserving the contrast of product trapped in zipper or vacuum-seal regions. This allows a machine to inspect closure areas that are difficult to evaluate using visible-light imaging alone.
12. Why does package thickness affect SWIR inspection?
A thicker package creates a longer optical path and can reduce transmitted signal through absorption and scattering. Multilayer structures can introduce additional losses. A system calibrated on one film thickness may therefore produce different image intensity when material thickness changes, so the expected packaging tolerance should be included in production validation.
13. Is backlighting better than front lighting for seeing through packaging?
Backlighting is often highly effective because the radiation deliberately passes through the package and hidden contents before reaching the camera. It can create strong silhouettes or fill boundaries. Reflection geometry can still be preferable in some cases, so both should be tested during development rather than assuming one arrangement is universally superior.
14. What should I test before buying a SWIR lens for packaging inspection?
Test the real package material, maximum print density, package thickness, hidden product, target defects, required wavelength, camera format, line speed and illumination geometry. Then determine the required field of view and smallest defect size. For compatible systems, the Kyptec Automation® SWIR Camera Lens range provides 8.5 mm to 50 mm focal lengths so the optical geometry can be chosen after the actual inspection contrast is proven.
15. How do I validate a through-packaging SWIR system before production?
Use correctly packed, underfilled, overfilled, empty and deliberately defective packages from real production materials. Include different printing positions, package suppliers, film thicknesses, wrinkles, product orientations and known seal contamination. Run the test at full conveyor speed and validate both detection rate and false-reject rate. The lens should be approved only when the complete system maintains adequate hidden-feature contrast across the entire expected production range.
Conclusion
SWIR through-packaging inspection works because the optical properties of packaging and its contents can change dramatically beyond the visible spectrum. Certain plastic films, paper wraps and printed materials become sufficiently transmissive at selected SWIR wavelengths to reveal fill boundaries, hidden components, trapped product in sealing zones or foreign material that ordinary visible-light cameras cannot inspect reliably. Industrial demonstrations already show SWIR imaging being used to look through plastic packaging, paper wrapping and printed films for fill-level and seal-area inspection.
The critical engineering point is that this capability is never universal. Package composition, pigment, printing, thickness, internal product and wavelength determine whether useful transmission exists. A successful inspection system must therefore start by testing the real packaging and hidden feature, then choose illumination, camera geometry and spatial sampling around the strongest measurable contrast.
The Kyptec Automation® SWIR Camera Lens collection gives OEMs and machine-vision integrators a focused 900–1700 nm optical platform with 8.5 mm, 12.5 mm, 25 mm, 35 mm and 50 mm focal lengths, 2 MP resolution, 2/3-inch format, F1.4 aperture and C-Mount across the current portfolio. This allows the same SWIR lens category to support broad package views, medium-field fill-level inspection and tightly framed seal or foreign-material detection according to the actual machine layout.
For a buyer designing non-destructive packaging inspection, the best Kyptec Automation® SWIR Camera Lens is therefore the model that gives the hidden feature enough sensor area and optical signal after the package itself has been proven sufficiently transmissive. When package physics, wavelength selection, illumination and lens geometry are developed together, SWIR imaging can turn visually concealed package information into practical, automated quality-control data.

Share:
GigE Ethernet Cable for Machine Vision Cameras: Industrial Buying Guide for CAT 6, RJ45, Cable Length, Shielding and Camera-Side Connector Selection
Nikon 50 MM Lens for Precision Dimensional Inspection: Edge Detection, Calibration and Measurement Repeatability