how to distinguish between object and dirt/water.

asked 2016-02-01 19:44:26 -0600

updated 2018-08-24 12:31:35 -0600

Hi all,

I am willing to write a program to detect a real object on a conveyor belt. however, there could be stain or water on the belt which interferes the detection. what would be the a good way to detect it? If dirt or water on the belt, the program just need to report this is not a valid object. Currently, I am thinking using find contours. but object could be any shapes. it is hard to distinguish a valid object. Any better idea?

Thanks in advance.

edit retag flag offensive close merge delete

Comments

It depends an awful lot on the specifics, and with no sample images...

Still, I would assume that objects have a solid color, or smooth texture, where dirt or stains would be more chaotic. You could look for that.

Tetragramm gravatar imageTetragramm ( 2016-02-01 21:54:58 -0600 )edit

Tetragramm,

Thank you for response, the object is like rock or stone in small pieces. stain will be pretty dark black but not in regular shape. water mark has some reflections. how could we do to distinguish those? Thanks

madokaaukawa gravatar imagemadokaaukawa ( 2016-02-01 22:39:16 -0600 )edit

If you want specifics, you need example pictures.

What have you tried? I can't do this for you, but I can help.

You mentioned find contours, but the objects can be any shape. Are they perhaps always regular? Or always have straight edges?

Tetragramm gravatar imageTetragramm ( 2016-02-02 15:37:14 -0600 )edit