Surface defect detection

AI Surface Defect Detection for Glossy and Textured Parts

Gloss, reflections, texture and translucency make surfaces the hardest thing to inspect with a camera. Tristar pairs lighting and cameras chosen for your material with a model that knows the difference between a highlight and a flaw.

Our Customers
25%
Scrap reduction
50%
Fewer customer claims
2 FTE
Redeployed from manual inspection
4 months
Payback

Results from a plastic film deployment. Read the case study

Fewer false rejects on shiny parts

The model learns what your surface looks like when it's good, so a reflection or a change in gloss isn't mistaken for a scratch.

Small flaws at line speed

Cameras are chosen for the smallest defect you care about and the width you need to cover, then run on every unit.

One approach across materials

Film, metal and molded plastic use the same software, with optics matched to each surface.

Surface defect detection sounds simple: look at the part and find the scratch. On a real line it’s the hardest job in machine vision, because a camera can’t tell by itself whether a bright streak is damage or a reflection of the ceiling lights.

Tristar approaches it from both ends. Lighting and cameras are chosen for your surface, and a model that already understands materials decides which marks are real. Both halves matter, and neither works alone.

Why surfaces are hard to inspect

A surface defect is usually a small change in how the material reflects or passes light. So is almost everything else that happens on a production line.

  • Gloss. Polished metal, clear film and molded plastic act like mirrors. The camera sees the lamp, the frame and the operator walking past.
  • Reflections and shadows. A formed part has curves and edges that throw highlights and dark bands, and they move when the part sits slightly differently.
  • Texture. Brushed, grained or coated finishes have a pattern of their own. A scratch running along the grain barely stands out from it.
  • Translucency. Film lets the background through. A gel is a small lens in a clear sheet, and it’s easy to miss against whatever is behind the web.

Rule-based vision handles this with thresholds: flag any pixel darker or brighter than a limit. Set the limit tight and it rejects good parts every time the gloss changes. Loosen it and the faint defects pass. There’s no setting that fixes both, and AI vs. rule-based machine vision covers it at length.

Lighting and camera choices

The model can only judge what the camera records, so the optics come first.

Surface challenge What Tristar does about it
Glare on glossy material Lighting chosen and angled to control glare
Small defects on a wide product A camera chosen for the smallest defect and the field of view
Continuous web moving fast Line-scan cameras across the full width
Several faces on one part Camera arrays, usually two or three cameras per station
Round parts The rotation the line already has, or an added rotation stage
Defects on the underside Conveyor design that flips the part
Parts overlapping each other Vibration or spread conveyors

The cameras are off-the-shelf industrial models. If you already have cameras on the line, we can evaluate whether they resolve the defects you care about before anything new is bought.

How surface defect detection AI reads the image

Good lighting reduces the problem. It doesn’t remove it. Parts still vary, coils still differ in finish, and resin lots still change the haze of a film.

Tristar’s models start from a foundation model that already understands materials. It looks past background, reflections, gradients, shadows, opacity and gloss and concentrates on the material itself. Trained further on your product, it learns the range your good surface covers, and it flags what falls outside that range.

Two practical effects follow. False rejects drop, because a shift in gloss is recognized as normal. And defects nobody wrote a rule for still get flagged as anomalies, then reviewed with your team and added as named types. That’s what separates visual defect detection AI from threshold tuning: the system learns the surface, and nobody has to describe it by hand.

Surfaces we inspect: film, metal and molded parts

Plastic film. Gels, carbon, eyelashes, fisheyes, pinholes, contamination, scratches and abrasions, on webs that are clear, tinted or printed. AI defect detection for plastic film describes each one.

Metal. Scratches and scrapes, dents, pitting, scale, rust, roll marks, stains and edge burrs on sheet and stamped parts. Formed panels are the classic gloss problem: a large curved surface with a defect that’s a fraction of its size.

Stamped body panel with a small surface defect highlighted
A small surface defect picked out on a stamped body panel.

The metal surface inspection page goes into stamping and welds, and the article on metal surface defect detection explains the defect types.

Molded parts. Flow lines, gas burns, flash and discoloration on injection molded surfaces, where color and finish vary from shot to shot.

Testing the solution on your surface

Nobody can tell you from a brochure whether a system will work on your finish. The honest test uses your parts.

  1. Collect good parts that cover the normal range of your surface, including the ones your current inspection wrongly rejects.
  2. Collect defective parts, with the faint defects as well as the obvious ones.
  3. Tell us the smallest defect that matters and how fast the line runs.
  4. We image them, run the model and report what it caught and what it missed.

On four high-speed film lines at a flexible packaging producer, this approach cut scrap 25% and customer claims 50%, with a 4-month payback. The case study is public. For how the detection side handles named classes and tolerances, see AI defect detection.

Those are results on one producer’s film. We’ll tell you about your surface after we run your parts.

Why Tristar AI

What goes into a surface inspection station

Lighting matched to the surface

Lighting is chosen and angled to control glare, so the camera sees the material instead of the lamp.

Camera chosen for the defect

Resolution comes from the camera, selected for the smallest defect and the field of view.

Line-scan for webs

Moving film and sheet are imaged across the full width as they pass.

A model that ignores the background

Reflections, shadows, gradients, opacity and gloss are treated as surface, not as defects.
Testimonials

See what our customers have to say about Tristar AI

The implementation was much smoother than we expected. Within days we were already identifying issues we hadn't been catching before.

Director of Engineering
Automotive Tier-1 OEM

Our operators can focus on solving problems instead of trying to find them.

Director of Engineering
Automotive Tier-1 OEM

Tristar AI catches defects our operators simply couldn't see.

Director of Engineering
Automotive Tier-1 OEM

Frequently asked questions

What is surface defect detection?

It is the inspection of a product's visible surface for flaws such as scratches, dents, pits, stains, gels and contamination. In production it's done with cameras, controlled lighting and software that decides whether each mark is a defect.

Why do reflective surfaces cause so many false rejects?

A camera records light, and a glossy surface reflects its surroundings. A highlight, a shadow or a change in finish can look like a defect to software that compares pixels with a fixed threshold. Better lighting removes part of the problem, and a model trained on the material handles the rest.

How small a surface defect can the system detect?

Typically about 1 mm and larger in real time. Smaller is possible with a different camera, since resolution is set by the camera and the field of view it has to cover.

Does surface defect detection AI work on transparent or translucent film?

Yes. Tristar inspects plastic film in production for gels, carbon, eyelashes, fisheyes and similar defects. The model is built to look past opacity and gloss and focus on the material.

Can it inspect curved or round parts?

Yes, with the right presentation. Round parts use the rotation the line already has, or a rotation stage is added, and stations usually use two or three cameras to cover the surface.

Ready to transform your manufacturing operations?

See how manufacturers are using Tristar AI to reduce waste, improve quality, and drive operational performance.
Our Investors