Monard
Monard

Reputation: 435

Python quality inspection with opencv (ssim)

I'm currently an intern at a quality inspector company. My job is to write a program that can detect faulty products (for example, missing screw). They take a picture of every single product. My idea is that I choose an image which could serve as a benchmark and I would compare the other images to that, with the SSIM score, and maybe display the faulty part with a rectangle. Is this a viable idea? (Its a strange internship, because it seems like I'm the only one who can code there...) that's why I'm asking here.

Upvotes: -1

Views: 748

Answers (1)

puhuk
puhuk

Reputation: 484

It sounds good idea if your goal is to classify different objects within images comparing benchmark image. But in my experience, SSIM score was sensitive to angle, light or environment.

So in conclusion, if your goal is to classify different objects in images, your idea would work. But if your goal is to classify exactly same objects, it might not be able to classify.

Upvotes: 1

Related Questions