Machine Vision Lens for Reflective Metal, Glass and Plastic Inspection: Choosing Optics for Difficult Surfaces

Inspecting a matte component with machine vision is usually much easier than inspecting polished metal, clear glass or glossy plastic.

The reason is not simply that reflective surfaces are brighter.

These materials can redirect illumination back toward the camera, create concentrated glare, reflect surrounding machinery, hide scratches inside bright highlights, produce duplicate edges through transparency and change appearance dramatically when either the camera or light moves by only a small angle.

A Machine Vision Lens used for these difficult surfaces therefore has to be selected as part of a complete optical arrangement.

Resolution matters. Focal length matters. Working distance matters. Aperture matters. Sensor compatibility matters. But on reflective and transparent products, the relationship between the Machine Vision Lens, illumination direction, viewing angle, surface shape and inspection feature becomes especially important.

The best Machine Vision Lens for reflective metal inspection is not automatically the highest-resolution lens.

The best lens for glass inspection is not simply the one with the widest aperture.

The best optics for glossy plastic cannot be selected from material type alone.

The correct choice depends on what must be made visible.

A scratch on polished steel requires a different contrast strategy from an edge on transparent glass. A moulding defect in black glossy plastic creates a different imaging problem from a printed code on a clear container. A curved metallic surface behaves differently from a flat sheet even when both materials are equally reflective.

Kyptec Automation® provides a broad Machine Vision Lens range across different focal lengths, sensor formats and optical resolution classes for industrial inspection. For difficult surfaces, the strongest buying approach is to define the defect or feature first, control how light reaches that feature and then select optics capable of preserving the resulting contrast.

Why Reflective Surfaces Are Difficult for Machine Vision

A matte surface scatters incoming light in many directions.

This makes its brightness comparatively stable across a range of camera positions.

A polished surface behaves more like a mirror.

Instead of scattering most of the illumination, it sends a large portion of the light in a particular direction.

If that direction coincides with the camera, the sensor can receive an extremely bright highlight.

Move the light slightly and the same area can become dark.

This means the visible appearance is strongly dependent on geometry.

For an inspection system, that can be either a problem or an advantage.

Uncontrolled reflection can hide defects.

Controlled reflection can make defects stand out dramatically.

The goal is therefore not always to eliminate reflection.

The goal is to control it so acceptable and defective surfaces produce reliably different images.

Start with the Inspection Feature, Not the Material Name

“Inspect stainless steel” is not yet an optical specification.

Neither is “inspect glass” or “inspect plastic.”

The buyer should define exactly what the system needs to detect.

For reflective metal, the task may be scratch detection, dent inspection, edge location, engraving verification, surface contamination, hole inspection or dimensional measurement.

For glass, the task could involve edge detection, presence, cracks, chips, printed markings, contamination or dimensional verification.

For glossy plastic, the inspection may involve moulding marks, scratches, flash, printed information, assembly position or surface contamination.

Each feature interacts with illumination differently.

Before selecting the Machine Vision Lens, ask:

What physical change distinguishes a good part from a bad part?

That answer determines what contrast the imaging system needs to create.

The Lens Cannot Recover Detail Hidden by Glare

This is one of the most important principles in reflective-surface inspection.

Suppose a polished metal component contains a fine scratch.

The camera uses a high-resolution sensor and a suitable high-resolution Machine Vision Lens.

However, the surface sends a saturated reflection directly into the camera.

The pixels around the scratch become almost completely white.

The information about the scratch is no longer meaningfully represented.

Increasing lens resolution will not restore it.

The imaging system must first control illumination so the scratch creates useful contrast.

Only then does optical resolution determine how clearly that contrast reaches the sensor.

This is why difficult-surface inspection should be designed in the order:

contrast first, sampling second, optical resolution third.

Specular Reflection vs Diffuse Reflection

Understanding the difference between specular and diffuse reflection makes Machine Vision Lens selection easier.

Specular reflection is mirror-like.

The angle of reflected light is strongly related to the angle at which illumination reaches the surface.

Polished metal, glass and glossy plastic can all produce strong specular reflections.

Diffuse reflection scatters light more broadly.

Matte paper and rough surfaces generally show more diffuse behaviour.

Many industrial parts contain both.

A machined metal component may have a polished face and rough edge.

A plastic housing may contain both glossy and textured regions.

The vision system should therefore be designed around the particular inspection region rather than assuming one lighting condition will work equally well across the complete object.

Why Camera Angle Matters with Reflective Metal

Consider a flat polished metal sheet.

If illumination is positioned so its specular reflection enters the lens, the sheet can appear very bright.

A small surface scratch may redirect some of that light away from the camera and become dark.

Change the geometry and the reverse may happen.

The background can become dark while the defect reflects light toward the camera and becomes bright.

Both approaches can be useful.

The important point is repeatability.

The Machine Vision Lens should view the surface from a controlled angle, and the illumination geometry should remain fixed so identical defects produce a consistent contrast response.

Machine Vision Lens for Polished Metal Inspection

Polished metal is frequently inspected for scratches, dents, surface marks, contamination and machining defects.

The lens should provide sufficient optical resolution for the smallest defect and a suitable focal length for the required inspection area.

However, image quality should be evaluated only after glare has been controlled.

A camera looking perpendicular to a polished surface may receive a strong reflection from frontal illumination.

Changing the illumination angle can reveal surface variations more clearly.

If measurement is also required, the camera angle may need to remain close to perpendicular to reduce perspective effects.

This creates a design compromise between geometric simplicity and reflection control.

The lighting can often be moved more freely than the camera.

Machine Vision Lens for Brushed and Machined Metal

Brushed or machined surfaces introduce another challenge.

The manufacturing texture itself creates directional contrast.

A scratch running parallel to the texture may appear very different from a scratch crossing it.

If the system needs to detect defects in multiple orientations, one illumination direction may not be sufficient.

The Machine Vision Lens must still provide appropriate resolution, but inspection reliability depends on testing the complete range of expected defect orientations.

This is particularly important when validating sample parts.

Do not test only one convenient scratch.

Test defects running in different directions relative to the surface texture and lighting.

Machine Vision Lens for Shiny Curved Metal

Curved reflective parts are harder than flat reflective parts because surface angle changes continuously across the object.

A cylindrical or rounded component can create a narrow bright band where the reflection geometry aligns with the camera.

Other regions can become dark.

The bright band may move when the object shifts slightly.

A wider illumination source can sometimes create a more gradual and controllable reflection pattern.

The lens should provide enough depth of field to maintain focus across the curved surface if multiple depth planes are relevant.

A longer working distance can also reduce perspective variation across some curved objects, provided the required field of view can still be achieved.

Why Focal Length Matters on Reflective Parts

Focal length determines field of view together with sensor size and working distance, but it also influences how far the camera needs to be positioned from the object.

A shorter focal length can provide a wide field from a closer distance.

A longer focal length can provide a tighter field or allow the camera to move farther away.

For difficult reflective surfaces, additional working distance can sometimes create more room for controlled illumination between the camera and object.

That can be valuable in inspection stations where lights need to be placed around the optical axis without interfering with the production equipment.

The correct focal length should therefore account for both image geometry and lighting access.

A 16 mm Lens for Wider Difficult-Surface Inspection

For a compatible 2/3 inch camera where a relatively wide field is required, Kyptec Automation® KL-1226 provides a 16 mm, 10 MP, C mount Machine Vision Lens configuration.

This type of focal length can be evaluated when a larger surface area needs to be captured from a constrained working distance.

For example, a system may need to inspect a broad metal plate, multiple plastic components or a wide transparent region.

The model should still be selected only after calculating the actual field of view with the intended camera.

A 16 mm focal length is not automatically the correct choice merely because the object is reflective.

A 25 mm Lens for a Tighter Inspection Region

When the inspection region is smaller or the camera can be positioned farther away, a 25 mm configuration may be more appropriate.

Kyptec Automation® KL-1216 provides a 25 mm, 10 MP, 1 inch, C mount option for compatible cameras.

A tighter field can provide more camera pixels across the same physical defect.

This can be useful for small scratches, edge damage or fine printed features on reflective products.

However, reducing field of view does not solve glare.

It only increases sampling.

The lighting still needs to convert the defect into usable image contrast.

When Higher Optical Resolution Becomes Useful

A high-resolution Machine Vision Lens becomes useful when the camera sensor is capable of recording fine detail and the controlled illumination has made that detail visible.

For demanding larger-format systems, Kyptec Automation® KL-1242 provides a 35 mm, 25 MP, 1.1 inch C mount configuration.

A lens in this class can be evaluated for fine-detail inspection when its focal length, sensor coverage and working distance match the system.

High optical resolution is particularly relevant when the surface defect is small relative to the total field of view.

But it should be considered after glare and contrast have been stabilized.

Otherwise, the camera simply captures a higher-resolution image of an uncontrolled reflection.

Machine Vision Lens for Glass Inspection

Glass presents a different optical challenge because light can be reflected from the surface and transmitted through the material.

The camera may therefore see front-surface reflections, rear-surface reflections and objects located behind the glass.

This can create duplicate edges or visually confusing backgrounds.

The correct inspection setup depends on what feature needs to be detected.

For glass presence or outline inspection, transmitted or backlit contrast can be useful.

For surface contamination, cracks or scratches, another lighting angle may be required.

For printed markings on glass, the system may need to suppress irrelevant reflections while preserving contrast from the ink.

The Machine Vision Lens should provide enough field and resolution for the target, but illumination geometry is what determines which optical information becomes visible.

Why Clear Glass Can Produce Multiple Edges

A transparent plate has at least two major surfaces.

Light can reflect from both the front and rear interface.

Depending on thickness, angle and focus, the camera may see separate edge information from each surface.

For simple presence inspection, this may not matter.

For accurate edge measurement, it can cause ambiguity.

Camera angle, illumination direction, focus plane and aperture therefore need to be designed around which physical interface the software should detect.

A high-resolution lens can make both edges clearer, but that does not automatically tell the algorithm which edge represents the required dimension.

Inspecting Cracks and Chips in Glass

Cracks and chips often redirect light rather than simply changing colour.

That makes angled or transmitted illumination useful because damaged regions interact with light differently from intact glass.

A crack may appear bright against a dark background under one lighting geometry and almost disappear under another.

The lens needs sufficient object-side sampling for the minimum crack width or chip size.

If the required field is large, higher camera and lens resolution may be needed to preserve these small features.

As always, calculate the feature size in pixels before selecting optical resolution.

Worked Example: Glass Edge Inspection

Suppose a glass panel has a 250 mm horizontal inspection region.

The camera provides 5000 horizontal pixels.

Object-side sampling is:

250 ÷ 5000 = 0.05 mm per pixel.

A 0.5 mm edge chip can span approximately 10 pixels.

That may provide a useful starting point if illumination creates strong contrast.

If the panel width forces the FOV to increase to 500 mm using the same camera, sampling becomes 0.1 mm per pixel.

The same 0.5 mm chip now occupies about five pixels.

The lens selection therefore needs to account for the complete panel area and smallest defect together.

Machine Vision Lens for Glossy Plastic Inspection

Glossy plastics can behave almost like polished metal in some regions while remaining partly translucent in others.

Black glossy plastic is especially challenging because dark material and bright specular reflections can appear in the same image.

A scratch may be visible only when illumination catches it at a particular angle.

Moulding flow marks, sink marks, surface contamination and assembly defects can each require different contrast conditions.

A Machine Vision Lens should therefore be selected after the illumination has been tested on the actual production plastic.

Material samples with different surface finishes should be included.

A lens qualified only on matte prototypes may behave very differently when the final production mould produces a glossy surface.

Transparent Plastic Is Not the Same as Glass

Transparent plastic shares some imaging challenges with glass but can introduce additional surface curvature, moulding texture and optical variation.

Containers and covers may distort the view of objects behind them.

A transparent plastic wall can act as an additional optical element in the imaging path.

If the system needs to inspect something through the plastic rather than the plastic itself, refraction and surface shape can alter apparent feature position.

This should be tested with the final production material and geometry.

The lens cannot be evaluated accurately using an open-air target if the real machine looks through a thick curved plastic cover.

Why Polarization Is Frequently Used for Reflective Inspection

Polarization is a common optical technique for controlling certain specular reflections.

A polarizing arrangement can reduce glare from some non-metallic surfaces and help reveal underlying colour, print or surface information.

However, its effectiveness depends on material, viewing angle and the type of reflection.

Metallic reflection behaves differently from reflection from glass or plastic, so polarization should not be treated as a universal glare-removal tool.

It also reduces available light, which can affect exposure.

The correct approach is to test the actual part.

Kyptec Automation® maintains a Camera Lens Filters category containing optical filter options for machine vision setups. When a project requires a specific filter function, buyers should confirm the exact filter type and spectral requirement rather than assuming every lens filter performs polarization.

Why Colour Filters Can Improve Difficult-Surface Contrast

Sometimes the inspection challenge is not pure glare.

The defect or marking may reflect a different wavelength distribution from the background.

A colour filter can improve contrast by transmitting selected wavelengths and reducing others.

For example, a coloured printed mark on plastic may become more distinct when the illumination and filter are chosen to maximize tonal separation.

Kyptec Automation® currently lists blue and orange optical filter options within its Camera Lens Filters range, along with UV and UV/IR cut filters.

The correct filter should be chosen only from the actual illumination wavelength, camera response and required feature contrast.

Do not select a colour filter merely from the apparent colour of the object.

UV and IR Cut Filters Solve a Different Problem

A UV or UV/IR cut filter is not primarily a glare-control device.

Its purpose is spectral control.

If unwanted ultraviolet or infrared wavelengths influence the camera image, filtering can help make the captured spectrum more consistent with the intended visible-light inspection.

This can matter where camera sensors respond outside the visible region.

The Kyptec Automation® Camera Lens Filters category currently includes UV filter and UV/IR cut filter products.

This is useful for buyers because difficult-surface inspection may involve both reflection control and spectral control, but those are not the same optical task.

Aperture and Reflective Surface Inspection

Aperture affects how much light reaches the sensor and how much depth remains acceptably focused.

Reflective surfaces can be extremely bright in isolated highlights while the surrounding image remains dark.

Closing the aperture reduces overall light but does not necessarily remove the fundamental contrast problem between the bright reflection and the rest of the scene.

If a highlight is saturated, first improve illumination geometry rather than relying only on the iris.

Once reflection is controlled, aperture can be optimized for depth of field, exposure and optical sharpness.

Why Overexposure Can Hide Surface Defects

A saturated pixel cannot represent additional brightness detail.

If a polished region is driven to maximum sensor value, a defect within that region may no longer create a measurable intensity change.

This is why reflective inspection should avoid large saturated areas around critical features.

Reducing exposure can help, but then darker regions may lose useful signal.

A better solution can be to reposition or reshape illumination so the surface brightness falls within a usable camera range.

The Machine Vision Lens then preserves the resulting contrast.

Why Underexposure Is Also a Problem

Moving the light away from the camera can reduce glare but may make the entire inspection region too dark.

Increasing electronic gain can brighten the image, but it also increases noise.

Small scratches and subtle contamination may then become harder to distinguish.

The goal is not simply “less reflection.”

The goal is controlled reflection with sufficient signal.

This is why diffuse illumination, directional lighting, spectral filtering and exposure need to be tested together.

Diffuse Lighting and Glossy Products

Diffuse illumination spreads light over a large angular range.

For some glossy parts, this creates a more uniform reflection and reduces sharp hotspots caused by small point-like sources.

It can be very useful for general appearance inspection.

However, making the surface uniformly bright can sometimes reduce the contrast of defects that would have been revealed by directional light.

For scratch inspection, a directional strategy may be better.

For broad print or colour inspection, diffuse illumination may be more suitable.

The correct illumination style follows the defect mechanism.

The Machine Vision Lens should then be selected to capture that contrast at sufficient resolution.

Dark-Field Style Inspection for Surface Defects

In a dark-field style arrangement, the main illumination is directed so a good flat surface sends little light toward the camera.

A scratch, chip or raised defect redirects some light into the lens and appears bright against a darker background.

This can be extremely effective for surface defects.

The lens must provide sufficient aperture and resolution to capture the weak redirected signal.

The working distance also needs enough physical room for off-axis illumination.

A focal length that allows the camera to sit farther from the object can sometimes make this lighting geometry easier to build.

Bright-Field Style Inspection

Bright-field arrangements intentionally position illumination so the normal surface appears bright.

Defects that redirect light away from the camera can then appear darker.

This can be useful for certain polished metal and glass inspections.

Again, the objective is contrast.

Neither bright-field nor dark-field is universally superior.

The buyer should test which configuration gives the greatest and most repeatable difference between good and defective surfaces.

Why Working Distance Matters for Difficult Surfaces

Working distance determines more than image scale.

It also determines how much physical room exists for illumination.

A very short lens-to-object distance can leave little space for angled lights, diffusers or filters.

A somewhat greater working distance can simplify lighting access and reduce mechanical interference.

However, changing working distance changes the focal length needed for a particular field of view.

The optical and lighting layout should therefore be designed together.

This is especially important when the inspection cell contains shields, robot tooling or protective windows.

Protective Windows Can Create Additional Reflections

Industrial cameras are often installed behind a protective transparent window.

That window introduces another reflective surface into the optical path.

If it is mounted perpendicular to the optical axis, illumination can reflect from it toward the camera.

Dust or contamination on the window can also create artifacts that resemble product defects.

The window should therefore be considered part of the imaging system.

Its angle, cleanliness and distance from the lens can affect image quality.

If the production system uses a protective window, qualify the lens with that window installed rather than testing only in an open bench setup.

Curved Glass and Plastic Can Change Apparent Feature Position

Transparent curved surfaces can refract light.

If the camera looks through a curved plastic or glass wall to inspect an internal feature, the apparent location and shape of that feature can change.

This is not ordinary lens distortion.

It is additional optical refraction caused by the object itself.

A calibrated system may need to account for it.

If possible, inspect the feature directly rather than through a curved transparent wall.

Where that is impossible, validate the complete optical path using the real container geometry.

Resolution Requirements Should Be Calculated After Contrast Is Established

Suppose the smallest scratch to detect is 0.2 mm wide.

The system uses a 100 mm horizontal field across 5000 pixels.

Object-side sampling is:

100 ÷ 5000 = 0.02 mm per pixel.

The scratch can theoretically span about:

0.2 ÷ 0.02 = 10 pixels.

That looks promising.

But if uncontrolled reflection makes the scratch and background almost identical in intensity, those 10 pixels do not contain useful defect contrast.

Now suppose controlled illumination makes the scratch clearly darker than the surrounding surface.

The same 10-pixel sampling becomes useful.

This is why reflective-surface resolution calculations should come after a viable lighting concept exists.

Worked Example: Scratch Inspection on Polished Metal

Suppose a polished metal component has a 120 mm wide inspection region.

The smallest required scratch width is approximately 0.15 mm.

The camera has 6000 horizontal pixels.

Object-side sampling is:

120 ÷ 6000 = 0.02 mm per pixel.

A 0.15 mm scratch spans approximately:

0.15 ÷ 0.02 = 7.5 pixels.

This provides a reasonable starting sampling level.

Now the lighting is tested.

Direct frontal illumination produces a saturated highlight and the scratch nearly disappears.

Angled illumination produces a darker background and the scratch redirects light toward the camera.

The optical sampling has not changed.

The inspection has become possible because contrast changed.

The final Machine Vision Lens should then be chosen to preserve those approximately 7.5 pixels of scratch information with adequate optical resolution.

Worked Example: Wide Glass Inspection

Suppose a glass panel requires a 300 mm horizontal FOV.

The camera provides 6000 horizontal pixels.

Sampling becomes:

300 ÷ 6000 = 0.05 mm per pixel.

The minimum edge chip is 0.5 mm.

It therefore spans approximately:

0.5 ÷ 0.05 = 10 pixels.

A suitable Machine Vision Lens must produce the 300 mm field from the available working distance and cover the sensor.

If the camera is a larger high-resolution format and the geometry requires approximately 35 mm focal length, Kyptec Automation® KL-1242 can be evaluated as a 35 mm, 25 MP, 1.1 inch C mount option.

The final decision should come from actual imaging through the required glass and illumination geometry.

Worked Example: Glossy Plastic Mark Inspection

Suppose a glossy black plastic housing contains a small moulded orientation mark.

The overall product is 80 mm wide.

The required FOV is 100 mm.

The camera provides 4000 horizontal pixels.

Object-side sampling is:

100 ÷ 4000 = 0.025 mm per pixel.

The narrowest useful part of the mark is 0.5 mm.

That gives approximately 20 pixels across the feature.

Resolution is likely not the main problem.

However, the glossy plastic creates a bright reflection that moves as the component shifts.

A larger diffuse source creates a more stable background appearance.

Now the 20-pixel feature can be processed reliably.

Again, the optics were adequate from the beginning.

The difficult surface needed better contrast control.

When to Choose 10 MP vs 25 MP Optics

A 10 MP Machine Vision Lens can be highly suitable when the compatible camera and FOV already provide enough sampling for the smallest defect.

For example, Kyptec Automation® KL-1226 provides a 16 mm, 10 MP, 2/3 inch C mount configuration, while Kyptec Automation® KL-1216 provides a 25 mm, 10 MP, 1 inch configuration.

A 25 MP optical class becomes more relevant when the camera uses a dense larger-format sensor or when a broad reflective surface must be inspected while retaining fine defect detail.

Kyptec Automation® KL-1242 provides one 35 mm, 25 MP, 1.1 inch C mount configuration for compatible high-resolution systems.

The correct optical class should be determined by camera and feature requirements.

Reflectivity itself does not determine megapixel rating.

Lens Cleanliness Matters More on High-Contrast Reflective Inspection

Dust, fingerprints or contamination on the lens or protective window can create haze, flare or false bright spots.

These effects can be particularly obvious when the image contains very bright reflections next to dark regions.

Keep optical surfaces clean and protected.

If a protective filter or window is used, include it in qualification testing.

A high-quality Machine Vision Lens cannot deliver stable contrast through contaminated external optics.

Stray Light and Flare

Reflective objects can send intense light into the lens from directions that do not correspond to the desired image feature.

Internal reflections and flare can reduce contrast over a larger part of the image.

This may make a dark defect look washed out even when the defect itself is correctly illuminated.

Shielding unnecessary light and controlling source position can therefore improve inspection performance.

When testing the lens, use the real machine enclosure and lighting environment if possible.

Open-bench testing can underestimate stray-light problems that appear after installation.

Why the Background Matters for Transparent Parts

With transparent glass or plastic, the camera can see what lies behind the product.

That background becomes part of the image.

If conveyors, brackets or other components move behind the transparent part, the inspection appearance can change even though the product is identical.

A controlled background can make transparent-surface inspection much more reliable.

For outline or contamination inspection, the background should be selected to maximize contrast with the required feature.

This is another example where improving scene design can be more valuable than simply increasing lens resolution.

Frequently Asked Questions About Machine Vision Lenses for Reflective Metal, Glass and Plastic

1. Why does a polished metal part look white in one camera position and dark in another?

Polished metal produces strong directional or specular reflection. A small change in camera or light angle can determine whether reflected illumination enters the Machine Vision Lens. Keep camera and lighting geometry mechanically fixed so the same surface produces repeatable brightness during inspection.

2. Should I reduce exposure when inspecting shiny metal?

Reducing exposure can prevent saturated highlights, but it does not necessarily solve the underlying reflection problem. If the surface is still much brighter than the defect, repositioning or diffusing the illumination can create more useful contrast. Exposure should then be optimized after the lighting geometry is stable.

3. Is a wider aperture better for glass inspection?

Not automatically. A wider aperture provides more light but reduces depth of field. Glass inspection may involve front and rear surfaces or features at different distances, so sufficient focus range can matter. Choose aperture according to light level, depth requirement and required detail rather than using the widest setting by default.

4. Why do I see two edges when measuring clear glass?

The camera may be receiving optical information from both the front and rear glass surfaces. Their separation depends on glass thickness, viewing angle, refraction and focus. Decide which physical interface represents the required measurement and configure illumination and focus to make that edge dominant.

5. Can one Machine Vision Lens inspect both polished and matte versions of the same component?

Possibly, but the illumination may need to change because the two finishes reflect light very differently. The lens can remain appropriate if FOV, focus and resolution requirements are unchanged. Validate the full range of approved surface finishes before standardizing the optical setup.

6. Why does a scratch disappear when I rotate the metal part?

Scratch visibility can depend strongly on the direction of the scratch relative to illumination. Rotating the part changes how the scratch redirects light into the lens. If defects can appear at different orientations, test multiple illumination directions or a lighting geometry that provides robust directional coverage.

7. Can a high megapixel Machine Vision Lens remove glare?

No. Higher optical resolution can preserve finer visible details, but glare is primarily a contrast and illumination problem. Control reflections first. Once the defect becomes optically visible, choose a lens resolution appropriate for the camera and minimum feature size.

8. What focal length is suitable for reflective surface inspection?

The correct focal length depends on sensor size, required field of view and working distance, not reflectivity alone. A 16 mm lens can suit wider fields, while 25 mm or 35 mm may suit tighter inspection regions or greater working distances. Calculate the geometry before selecting a model.

9. Why is my glossy plastic inspection inconsistent between product batches?

Surface gloss, mould texture, colour, coating and material composition can vary slightly between batches, changing reflection behaviour. Validate the vision system using realistic production variation and design illumination so the required defect remains visible across that range.

10. Can I inspect defects through a transparent plastic cover?

Yes in some applications, but the cover can introduce reflections, refraction, distortion and additional contamination. Test the complete installed optical path. Do not qualify the Machine Vision Lens without the cover if production images will always pass through it.

11. Do I need a lens filter for every reflective inspection application?

No. Filters are useful only when they solve a specific spectral or reflection problem. Some inspections are best improved through illumination geometry rather than filtering. Kyptec Automation® provides a Camera Lens Filters range, but the exact filter function should be matched to the camera, light source and inspection requirement.

12. How can I tell whether a failed reflective inspection is caused by the lens or lighting?

Capture the same defect while varying only illumination direction. If defect visibility changes dramatically while focus remains stable, contrast generation is likely the main issue. If the defect remains visible but always appears soft, lens resolution, focus, vibration or camera sampling may require investigation.

13. Should reflective metal inspection use a shorter or longer working distance?

Neither is universally better. A longer working distance can provide more physical space for directional illumination and can simplify some mechanical layouts. A shorter distance can support compact systems and higher magnification. Choose working distance from FOV, defect size, lighting access and machine constraints together.

14. Why are edge defects visible on glass but surface defects are difficult to detect?

Glass edges naturally create strong changes in transmitted and reflected light, while subtle surface scratches may create much weaker contrast. Surface-defect inspection usually requires a lighting geometry specifically designed to make small scattering or reflection changes visible.

15. What should I send when requesting a Machine Vision Lens for metal, glass or glossy plastic inspection?

Provide the camera model, sensor format, resolution, required field of view, working distance, surface material, whether the surface is flat or curved, smallest defect size, defect type, product speed, inspection angle and current illumination approach. Sample images are also valuable. These details can be shared through the Kyptec Automation® Contact Us page so the Machine Vision Lens can be evaluated around the actual difficult-surface application.

A Practical Lens Selection Workflow for Reflective and Transparent Surfaces

Begin with the defect or feature.

Do not begin with the focal length.

Define whether the inspection needs to see a scratch, chip, crack, print, edge, contamination, mould defect, dimensional feature or another target.

Measure the smallest relevant physical size.

Then experiment with illumination geometry using the actual material.

Determine whether the feature is most visible under direct reflection, off-axis reflection, diffuse illumination, transmitted light or another controlled condition.

Once stable contrast exists, define the required field of view.

Use the camera pixel count to ca

lculate object-side sampling.

Confirm that the smallest feature receives enough pixels.

Next define the available working distance.

Make sure enough physical room remains for the illumination geometry that produced the required contrast.

Calculate the focal length from sensor dimensions, field of view and working distance.

Select a Machine Vision Lens that covers the sensor and provides sufficient optical resolution.

Choose an aperture that balances light transmission, depth of field and fine image detail.

Then evaluate whether spectral or optical filtering offers additional contrast improvement.

Finally, test the configuration using good parts and representative defective parts across the actual production variation.

Test centre and edge positions.

Test surface-finish variation.

Test nearest and farthest product distances.

Test production speed where applicable.

Test with protective windows and covers installed.

A reflective-surface inspection should not be approved from one carefully positioned sample.

It needs to remain stable across realistic manufacturing conditions.

How Kyptec Automation® Fits Difficult-Surface Machine Vision Applications

The current Kyptec Automation® Machine Vision Lens range includes multiple focal lengths and optical resolution classes that can be evaluated after the difficult-surface contrast problem has been defined.

For compatible 2/3 inch 10 MP systems, Kyptec Automation® KL-1226 provides a 16 mm focal length option where wider coverage is required.

For compatible 1 inch 10 MP systems, Kyptec Automation® KL-1216 provides a 25 mm configuration that can be useful when a tighter inspection field or different working distance is required.

For demanding larger-format high-resolution cameras, Kyptec Automation® KL-1242 provides a 35 mm, 25 MP, 1.1 inch C mount configuration that can be evaluated when its optical geometry matches the application.

These examples demonstrate why difficult-surface lens selection should still follow normal optical engineering principles.

Reflectivity determines how contrast should be created.

Field of view and working distance determine focal length.

The camera determines required sensor coverage.

Feature size and camera pixel density determine optical resolution needs.

Kyptec Automation® also provides a separate Camera Lens Filters category, currently including colour, UV and UV/IR cut filter options that may be relevant when spectral control forms part of the inspection design.

For broader machine-vision environments, the Kyptec Automation® Applications page covers industrial uses including automotive, electronics, pharmaceutical, food and beverage, special-purpose machinery and printing, all of which can include difficult reflective or transparent inspection targets.

Final Answer: How Do You Choose a Machine Vision Lens for Reflective Metal, Glass and Plastic?

Do not choose the lens from surface material alone.

Start by defining what the camera needs to see.

A scratch on polished steel, a crack in glass and a moulding defect on glossy plastic are different optical problems even though all three materials can create troublesome reflections.

First create stable contrast.

For reflective metal, control the relationship between illumination angle, surface angle and camera position.

For glass, decide whether the required feature is on the front surface, rear surface, edge or inside the transparent material.

For glossy plastic, account for specular reflection, product curvature and surface-finish variation.

Then calculate the required field of view and object-side resolution.

Choose focal length from the camera sensor, FOV and available working distance.

Use a Machine Vision Lens with sufficient image-format coverage and optical resolution.

Select aperture according to lighting, exposure and depth-of-field requirements.

Consider appropriate filtering when it solves a defined spectral or reflection issue.

And test the complete imaging system with the actual production surface rather than a visually similar substitute.

For compatible 2/3 inch 10 MP systems requiring wider coverage, Kyptec Automation® KL-1226 provides a 16 mm Machine Vision Lens option.

For compatible 1 inch 10 MP cameras, Kyptec Automation® KL-1216 provides a 25 mm configuration.

For larger high-resolution systems requiring a 35 mm focal length, Kyptec Automation® KL-1242 provides a 25 MP, 1.1 inch C mount configuration.

None of these is universally “the best lens for reflective surfaces.”

The best Machine Vision Lens is the one that matches the sensor, working distance and field of view after the illumination has made the required defect reliably visible.

That order matters.

With ordinary surfaces, image resolution can often dominate the discussion.

With reflective metal, glass and glossy plastic, contrast creation comes first.

Once the surface is made optically understandable, the Machine Vision Lens can do its real job: transfer that useful information to the camera sensor with the field coverage, focus and resolution the inspection requires.