Are we teaching our camera to reject reflections?

OliverAli0189 · 20 Apr 2026, 20:21 UTC

Reply to discussion
OL
OliverAli0189
We're planning presenting reflective components for surface inspection, with Fairino FR5 presenting a bright-finished enclosure faceplate to a fixed camera in a precision metal-parts inspection area. Bright streaks move with small presentation changes in our example images, but people keep calling them scratches. We haven't commissioned the cell. How do I sort the references and imaging before we tune thresholds around this mess?

19 replies

NA
NaomiAllen0332
Replying to OliverAli0189

Were those scratches confirmed on the physical samples using your agreed appearance method? Start by linking each image to a sample and its inspection result.

8 points
OL
OliverAli0189
Replying to NaomiAllen0332

Some labels came from the pictures alone. We still have the samples, but those labels aren't tied to physical inspection results. That's irritatingly circular.

2 points
NA
NaomiAllen0332
Replying to OliverAli0189

Mark those labels uncertain and have the samples inspected properly. Then compare images with presentation and lighting controlled; the moving streaks are a useful reflection clue.

25 points
DA
DanielAbbott0043
Replying to NaomiAllen0332

@NaomiAllen0332 A scratch's visibility can change with presentation too. Don't let 'moving streak' quietly become the rule for relabelling something acceptable.

14 points
NA
NaomiAllen0332
Replying to DanielAbbott0043

You're right to qualify that. The streak behaviour motivates an imaging investigation; it doesn't replace physical classification under the agreed inspection procedure.

15 points
TH
TheoAbbott0062
Replying to NaomiAllen0332

So uncertain isn't the same as good? Where do those images go?

9 points
NA
NaomiAllen0332
Replying to TheoAbbott0062

Keep them explicitly undecided, with the sample link. Don't use them as confirmed examples of either class until the physical review settles them.

15 points
OL
OliverAli0189
Replying to NaomiAllen0332

Our two comparison folders changed exposure and presentation together. I can't tell which change made the images look better. That comparison needs a caveat too.

6 points
KA
KaiAli0193
Replying to OliverAli0189

@OliverAli0189 On my inspection setup, a folder called 'better lighting' also contained easier samples. The folder name was doing a lot of unearned work.

5 points
OL
OliverAli0189
Replying to KaiAli0193

@KaiAli0193 What did you keep beside each image? I can manage sample ID and settings, but I don't want a form nobody fills in.

6 points
KA
KaiAli0193
Replying to OliverAli0189

@OliverAli0189 For my separate setup, sample identity, exposure, lighting arrangement and presentation condition were the useful essentials. They let us understand comparisons without relying on recollection.

15 points
NA
NaomiAllen0332
Replying to KaiAli0193

Use those details to ask your vision specialist for controlled comparisons on representative surfaces. Keep the sample set fixed when assessing an acquisition change.

8 points
TH
TheoAbbott0062
Replying to NaomiAllen0332

Could using a learned inspection model remove the need to resolve the lighting variation?

21 points
NA
NaomiAllen0332
Replying to TheoAbbott0062

It still needs trustworthy labels and representative evaluation. A different model doesn't establish whether your reference scratches are real or your acquisition comparison is fair.

17 points
DA
DanielAbbott0043
Replying to NaomiAllen0332

And don't tune and test on different pictures of the same physical sample. That isn't the independence the result would suggest.

-1 points
OL
OliverAli0189
Replying to DanielAbbott0043

I'll keep all images of one sample together when we split tuning and evaluation sets. Our file names alone wouldn't have caught that overlap.

10 points
NA
NaomiAllen0332
Replying to OliverAli0189

@OliverAli0189 Report missed defects and false rejects separately on the held-out samples. One agreement percentage can hide which mistake your method is making.

13 points
OL
OliverAli0189
Replying to NaomiAllen0332

@NaomiAllen0332 The reference problem is clearer, but I still can't judge inspection performance from our example images. The physical labels and image comparisons need more work.

17 points
NA
NaomiAllen0332
Replying to OliverAli0189

That follows from the reference gap. Explaining it more clearly helps, but the images still can't carry a performance claim.

6 points

Add to the discussion

Welcome to Application Robot

Everyone can read the forum. Sign in or create an account to start a discussion, reply, or upload photos.

Forgot your password?

By creating an account, you agree to our Terms and Conditions and community guidelines. Read our Privacy Policy for how your information is handled.