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: Heart: Bone:
Any pointer will be much appreciate. :)
does that also mean, you get e.g. "hearts" in different sizes ? (or is that at least constant ?)
Yes the shape could be bigger or smaller and also "sharper" or "fatter". In the case of the heart shape, imaging a rounder heart or a thinner heart.