Is there any way to convert or merge sets of points (which obviously look like curves just with gaps) into continuous smooth curves so they could be defined by a path or continuous contour (and later saved as vector path in SVG file)? Is there any library in Python that deals with such things?
It is the result of cv2.findContour(...):
It has returned ~800 contours whereas it seems that all of them could be merged into a smooth 25-30 contours.
Small details are important therefore I cannot use simple blur with threshold before cv2.findContour() on the image to get smooth contours from the beginning.
I tried to use scypi.interpolate.* lib to build a smooth curve from a set of points, but the problem is that I cannot determine a subset of contours that to merge prior to interpolation.