Surface Finish and Roughness Inspection with AI Vision

By Johnson on July 6, 2026

surface-finish-roughness-inspection-ai-vision

Point a standard camera at a polished metal panel and you get one of two useless pictures: a blinding highlight where the light bounces straight back, or a dead shadow where it does not reach at all. Somewhere between those two extremes sits the scratch or dent your quality team actually needs to find, and ordinary lighting simply cannot reveal it. iFactory's AI pairs photometric stereo lighting with deep learning to read reflective and painted surfaces the way a trained eye under raking light would, and you can book a demo to see it running against your own parts.

SURFACE INSPECTION · PHOTOMETRIC STEREO · REFLECTIVE METAL · FINISH QUALITY

The Scratch Your Camera Cannot See Is Still the Scratch Your Customer Will Find

iFactory's AI uses multi-angle photometric stereo lighting to reveal texture anomalies, scratches, and dents on reflective metal and painted surfaces that standard lighting hides behind glare and shadow.

1
Single-Angle Light: Glare or Shadow
4+
Photometric Stereo Angles Combined
Full Surface
Normal Map Reconstructed
WHY STANDARD LIGHTING FAILS

Reflective Surfaces Break the Rules That Normal Machine Vision Relies On

Automated optical inspection was largely built around diffuse, matte surfaces. Reflective and specular metal behaves completely differently under a single light source, producing overexposed highlights and deep attached shadows that hide exactly the defects a quality team is trying to catch.

100%
Samples Affected by Glare
Share of complex reflective geometries affected by shadow and highlight distortion under single-angle lighting in published research
Up to 18.7%
Precision Gain on Dents
Reported improvement in average precision for dent and inclusion defects using photometric stereo methods
Specular Highlight
Main Failure Point
The leading cause of missed detections when standard cameras inspect polished or coated metal parts
Normal Map
What Solves It
A reconstructed surface geometry map that reveals texture independent of surface reflectivity
DEFECT LIBRARY

The Surface Defects iFactory's AI Is Trained to Catch

Different finish defects show up as different distortions in a reconstructed surface normal map, which is why iFactory trains its models specifically on photometric stereo output rather than raw camera images alone.

01

Scratches

Fine linear surface disruptions are isolated from background texture using multi-angle illumination, even on brushed or patterned finishes.

02

Dents and Deformation

Subtle depth changes that barely alter surface color are revealed clearly in the reconstructed normal map where flat imaging would miss them.

03

Texture and Roughness Anomalies

Inconsistent surface texture from tooling wear or material variation is flagged against an expected roughness baseline for the part.

04

Paint and Coating Defects

Orange peel, uneven gloss, and coating thickness variation are detected on painted surfaces alongside underlying metal defects.

HOW IT WORKS

From Multi-Angle Light to a Defect Verdict

Photometric stereo captures the same surface under several different lighting directions, then combines those images into a single, highly detailed geometry map that the AI analyzes for defects.

1

Multi-Angle Image Capture

A ring or segmented light source captures the same surface point under several distinct illumination directions in rapid sequence.

2

Surface Normal Reconstruction

The captured images are combined into a normal map that represents true surface geometry independent of reflectivity or color.

3

AI Defect Classification

A trained deep learning model analyzes the normal map and mean image together to classify scratches, dents, and texture anomalies.

4

Pass, Flag, or Reject

Each part receives a quality verdict with defect location and severity, ready to trigger a sort or reject mechanism automatically.

Glare and Shadow Have Been Hiding Defects From Your Cameras for Years

iFactory's AI uses photometric stereo lighting to see past reflectivity and reveal the scratches, dents, and texture anomalies standard vision systems miss.

LIGHTING COMPARISON

Standard Machine Vision vs Photometric Stereo, Side by Side

The difference between the two approaches comes down to how each handles the exact conditions that reflective and painted surfaces create.

Factor Standard Single-Light Vision Photometric Stereo AI
Reflective Surface Handling Frequent overexposure Multi-angle correction
Low-Contrast Defect Visibility Often missed Revealed in normal map
False Positive Rate Higher on curved parts Reduced substantially
Complex Geometry Coverage Limited by shadow zones Consistent across curvature
DEPLOYMENT PATH

From First Fixture to Full Line Coverage

iFactory's rollout validates photometric stereo detection accuracy on your specific part geometry and finish before scaling to additional stations.

01

Part and Finish Assessment

Part geometry, material, and finish type are assessed to design the correct lighting rig and camera configuration.

02

Fixture Install and Calibration

The photometric stereo lighting fixture and camera are installed and calibrated against known-good and defective sample parts.

03

Model Training and Validation

The AI model is trained on normal map data and validated against manual inspection results before full production handover.

04

Production Rollout

The system takes over live pass, flag, or reject decisions, with coverage expanding to additional part types over time.

MEASURED IMPACT

Results From AI-Driven Photometric Stereo Inspection Deployments

The figures below reflect outcomes reported from manufacturers that deployed photometric stereo AI inspection on reflective metal and painted parts.

Up to 18.7%
Higher detection precision on dent and inclusion defects compared to single-angle lighting
Fewer False Alarms
Reduced false positive rate on curved and complex geometry parts
Full Coverage
Consistent inspection across highly reflective and matte finish zones on the same part
Sub-100ms
Typical inspection time per part once the normal map is reconstructed
24/7
Consistent inspection standard maintained across every shift without fatigue
Fewer Escapes
Reduction in cosmetic and structural surface defects reaching final assembly or the customer
FREQUENTLY ASKED QUESTIONS

Common Questions From Quality and Manufacturing Teams

What makes photometric stereo different from just adding better lighting?
Photometric stereo does not simply brighten a scene, it captures the same surface under multiple distinct light directions and mathematically reconstructs the true surface geometry as a normal map, which reveals texture and depth information that no single light angle can capture regardless of intensity. This is why it succeeds specifically on reflective and specular surfaces where standard lighting improvements still fail. Book a demo to see the difference on your own reflective parts.
Does this work on curved or complex geometry parts, not just flat surfaces?
Yes, photometric stereo is specifically well suited to complex and curved geometries because it does not depend on a single optimal light angle working across the entire part, which is exactly where traditional single-light inspection struggles most. Fixture design is adapted to the specific curvature and size of your part during the assessment phase. Contact our support team for a fixture design review of your part geometry.
What kind of materials and finishes does this system support?
The approach has been validated on polished and brushed metal, chrome and nickel-plated components, and painted or coated surfaces, since the underlying technique works by reconstructing geometry rather than relying on color or reflectivity alone. Each material and finish combination is calibrated individually during deployment. Book a demo to confirm compatibility with your specific materials.
How much does this slow down our production line compared to a standard camera?
Multi-angle image capture happens in rapid sequence and inspection processing typically completes in under 100 milliseconds per part once the normal map is reconstructed, which keeps pace with most production line speeds rather than introducing a meaningful bottleneck. Exact throughput depends on part size and station layout. Contact our support team to review throughput for your specific line speed.
What return on investment can we expect from a photometric stereo inspection deployment?
Because reflective and painted parts are exactly the category where manual inspectors and standard machine vision both struggle most, closing that specific gap tends to deliver a meaningful reduction in cosmetic and structural defect escapes relatively quickly. The precise payback period depends on your current defect escape rate and the cost of rework or warranty claims tied to surface finish issues. Book a demo for an ROI estimate based on your part volume.
CONCLUSION

A Reflective Surface Was Never the Problem, Single-Angle Light Was

Polished metal and painted panels have always carried the defects your quality team is trying to catch, the issue has only ever been that a single light source cannot reveal them without either blinding glare or dead shadow getting in the way. That is a lighting and geometry problem, not a materials problem, and it has a direct engineering solution.

iFactory's AI pairs photometric stereo lighting with deep learning trained specifically on reconstructed surface geometry, catching scratches, dents, and texture anomalies that standard vision systems consistently miss. The result is fewer cosmetic escapes, more consistent finish quality, and a defect record your team can actually trust. Book a demo to see iFactory's AI reading live surface data from your own parts.

Stop Letting Glare Decide Which Defects Your Line Ever Sees

iFactory's AI reveals scratches, dents, and texture anomalies on reflective and painted surfaces using photometric stereo lighting and deep learning.


Share This Story, Choose Your Platform!