Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Shape identification C++

Hi, Im relatively new to opencv and would like to ask if anyone knows of an approach to solve the following question.

My main objective is to identify the 2d shapes of an object. They are all geometric shapes that vary in size. I had tried using hough circle, corner detection and approxpolydp to identify the shape but was not able to obtain a good result for complicated shapes such as the ones below.

Modified rectangle: C:\fakepath\shape_9.png Heart: C:\fakepath\shape_14.png Bone: C:\fakepath\shape_15.png

Any pointer will be much appreciate. :)

click to hide/show revision 2
No.2 Revision

updated 2016-12-23 01:53:41 -0600

berak gravatar image

Shape identification C++

Hi, Im relatively new to opencv and would like to ask if anyone knows of an approach to solve the following question.

My main objective is to identify the 2d shapes of an object. They are all geometric shapes that vary in size. I had tried using hough circle, corner detection and approxpolydp to identify the shape but was not able to obtain a good result for complicated shapes such as the ones below.

Modified rectangle: C:\fakepath\shape_9.pngC:\fakepath\shape_9.png Heart: C:\fakepath\shape_14.pngC:\fakepath\shape_14.png Bone: C:\fakepath\shape_15.pngC:\fakepath\shape_15.png

Any pointer will be much appreciate. :)