Open christofidi opened 8 months ago
Filling in an area should likely be done with a much more advanced algorithm. For example, Eulerian Fill, which is a lot easier than something like Tatsumi.
While built into vpype (which is also fine to use) see this implementation: https://github.com/EmbroidePy/vpype-embroidery
See it with a combine image parser via this other utility: https://github.com/tatarize/vpype-vectrace
Hello,
Thank you very much for open-sourcing this amazing library! I am trying to convert the outline of a simple image to a .pes file. For example, if I take a simple image of a dog, I am trying to detect the edges first and then convert the filtered image to a .pes file. If the problem is that I am trying to stitch only the edges, then I could use a fill-in stitch as well. This is the code that I am using, but the image appears with too many stitches all over the place (that do resemble the initial image in some sense):
def convert_image_to_pes(image_array, pes_file):
Create a new pattern
convert_image_to_pes(edges3, 'output.pes')
Do you maybe have any recommendations?
Cheers,
Georgia :)