Ask Your Question

How to detect the same object with different shapes in an image?

asked 2017-10-04 18:36:33 -0500

viniast95 gravatar image

updated 2017-10-05 06:43:00 -0500

LBerger gravatar image

Hi guys. I would like to know what functions / techniques you would indicate to me to identify all the points identified in the image below. I'm a beginner in python and opencv, but I really need to develop a method to accomplish what I need. Thank you very much for any collaboration.

image description

image description

edit retag flag offensive close merge delete


I suggest you study python and some of the computer vision basics first. The image you post are quite difficult to segment out the circle by image processing tech because the color are too similar to the other object. If you have the info of depth, probably it would be easier to find out the circles, because the circles you want to detect have different depth compare with the other objects.

tham gravatar imagetham ( 2017-10-04 22:19:06 -0500 )edit

@viniast95 please insert images in your post as in the answer

LBerger gravatar imageLBerger ( 2017-10-05 03:00:55 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2017-10-04 23:17:54 -0500

VxW gravatar image


I have tried some preprocessing techniques. First, apply a median filter to reduce noise. Second either you apply an emboss filter

image description

or an edge detection with 0 and 180 degree

image description

based on this you can test e.g. hough circle detection


edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2017-10-04 18:36:33 -0500

Seen: 311 times

Last updated: Oct 05 '17