I am trying to implement a shape matching algorithm for vector images discussed in a paper.The input to the algorithm is a model of 2D shapes dened by contour segments. According to the paper, such segments can be dened as polylines, obtained for example by vectorizing the output of an edge detector like Canny.I am trying to vectorize a tiff image using Inkscape's bitmap tracing feature. The svg image I got from it has a path node with many attribute values, but that is not what the algorithm wants: How can I vectorize to polylines instead of paths?
Vectorizing to polylines instead of paths
vector graphics