So, I have image simple like this:
After doing findContours by openCV, I get a vector of curves, which after drawing look like this:
but I want vector of curves which look just like single line and not around figure, like this:
is there an openCV function for that, or should I use another algorithm? what do you suggest?
Thanks