Trigger to Reject: The Latency Budget a Conveyor Cell Has to Sign
The reject window on a moving conveyor is set by geometry, not by the camera. It is the distance from the trigger point to...
read more…
A food package seal fails in ways that are hard to see: a narrow channel through the seal, a wrinkle that lifts the film, or a piece of product trapped in the seam. The seal may look complete from above and still leak. A camera can catch the visual signature, but only if the light and the lens are chosen for the seal geometry rather than for the package front. This article covers the optical paths for seal width, channel leaks, and contamination, and the resolution needed at line speed.
A food package seal is a narrow band where two films are bonded by heat, pressure, and time. A channel is a thin unbonded path through the band; it may be only a few tenths of a millimetre wide. A wrinkle is a fold that lifts the film and creates a gap. Contamination is a product particle, oil, or powder that prevents the bond. The seal width may be within the drawing while a channel runs through it, so a width measurement alone is not enough.
The seal is also a three-dimensional feature. The film may be transparent, printed, or metallized; the seal band may be flat or have a serrated profile. A front-lit camera sees the surface, not the bond. A backlit camera sees the transmission through the seal, which is closer to the bond quality but can be blocked by print or metallization. The optical path has to match the film stack.
For seal width and channel leaks, a backlight or a polarized transmission view is the starting point. A channel that is not bonded transmits more or less light than the bonded band, depending on the film. A telecentric lens can measure the seal width without perspective; a low-distortion FA lens can image the channel if the seal is flat. For wrinkles, a grazing light reveals the shadow and the lift; a diffuse light hides them. For contamination, a color camera or a narrowband light can separate the product from the film, especially if the product is a different color or absorbs a different band.
| Defect | Light | Lens priority |
|---|---|---|
| Channel leak | Backlight or crossed polarizers | Low distortion, high contrast |
| Seal width | Backlight or diffuse | Telecentric for measurement |
| Wrinkle | Grazing light | Depth of field across the fold |
| Contamination | Color or narrowband | Color correction, contrast |
The seal is usually inspected on a moving web. A line-scan camera with a line light can cover the seal band continuously; an area camera with a strobe can inspect an indexed package. The lens must cover the seal band plus a margin, not the whole package, if the resolution is tight. A dedicated seal camera is often better than a wide package view.
For a seal width measurement, a telecentric lens removes perspective and keeps the magnification constant if the film height changes. For a channel or wrinkle, a low-distortion FA lens with a short working distance can give more contrast at a lower cost. The lens must be sharp at the seal plane, not at the package front; a shallow depth of field can put the seal out of focus when the film lifts. The food packaging inspection notes cover the washdown and IP considerations, and the lens calculator converts the seal width and working distance into a starting focal length. The broader five-input method is covered in our machine vision lens selection guide.
The lens should also handle the film’s polarization. A crossed-polarizer setup can reveal stress and channels in a transparent film, but it reduces the light and may not work on a metallized film. A telecentric lens with a polarizer can be large and expensive; test the contrast before committing.

Start with the narrowest channel and the seal width. A 0.2 mm channel with four pixels across it needs a 0.05 mm object pixel. A 10 mm seal band at 0.05 mm per pixel needs 200 pixels across the band; a 2K line is more than enough, and the rest of the sensor can cover the margin. If the package moves at 0.3 m/s, the line rate is 0.3 / 0.00005 = 6,000 lines per second. The exposure must fit inside the line period, so a 6 kHz rate allows up to 166 microseconds; a shorter exposure freezes the film and the product.
The depth of field must cover the seal band and the film lift. A seal that is flat at the center can lift at the corner; if the lens is wide open, the corner may be out of focus and the channel may disappear. Stop down until the lifted corner is still sharp, then check that the diffraction does not soften the 0.2 mm channel below the pixel size.
The channel contrast depends on the film stack. A transparent film on a transparent film may show a small transmission difference; a metallized film may show almost none. The light and the camera must be chosen for the actual stack, not for a generic “seal inspection” recipe. If the visible contrast is too low, a polarized or spectral channel may be needed.
Build a seal set with known channels, wrinkles, contamination, and good seals. Include the film stack, the product, and the seal profile used in production. Image each seal at the production speed and light, and record the contrast. Correlate the visual calls with a leak test or a peel test; a seal that looks good but leaks is the defect the station must catch.
Check the seal ends and the corners. The seal band often changes at the package corner, and the film may wrinkle there. A lens that is sharp in the middle of the seal may be soft at the corner. The qualification should include the start and end of the seal, and the transition to the package body.
Keep a reference seal with a known channel and a known good seal. Image it at the start and end of the shift, and compare the channel contrast and the seal width. If the reference seal changes, the light, the film, or the camera has drifted. The reference seal is more useful than a perfect sample because it tests the contrast at the defect level, not just the image quality.
Send the film stack, the seal width and profile, the channel and contamination sizes, the line speed or index time, the camera model and pixel pitch, the working distance, and the light. State whether the film is transparent, printed, or metallized, and whether a leak test is available. Ask for the image circle, distortion, MTF at the seal plane, and a sample image on your film. The FA machine vision lenses are the starting point for a flat seal band.
The film thickness and the print matter. A thick film may need more light for the backlight; a printed film may hide the channel in the print. If the seal is printed, inspect the seal before printing or use a spectral band that the ink does not block. A film that is metallized may reflect the light and hide the channel; a polarized or grazing view may be needed. The sample image should be on the actual film, not a clear demo film.
It can find the visual signature if the film stack gives contrast. A transparent or metallized film may hide the channel; correlate with a leak test and use polarization or a spectral channel if needed.
Only if the seal width is measured or the film height varies. For a channel or wrinkle check, a low-distortion FA lens is often enough.
Backlight for channels and seal width; grazing front light for wrinkles. Some lines need both.
Three to five pixels is a starting point. Calculate the object pixel from the seal band and the sensor, then confirm on a leaking sample.
If you are building a seal inspection station and need a lens that resolves the seal band at line speed, start with our FA machine vision lenses and send the film stack, seal, and defect data. The seal band, not the whole package, should set the field of view.
Related reading: FA C-Mount Lens Selection by Sensor Format (2/3 in to 1.1 in) · Tablet and Capsule Inspection: Optics for Chips, Color, and Print at High Speed