10-11-2019, 08:41 AM
Some alternatives.
Inkscape uses Autotrace for the center-line trace extension. For autotrace see: https://github.com/autotrace/autotrace
Gets a result like this. https://i.imgur.com/ak28rHc.jpg There is a warning about image size and scaling. Stroked same size as original line.
There is a Gimp plugin trace.py that uses autotrace for a centerline trace see: https://gimpchat.com/viewtopic.php?f=9&t=17485
Autotrace on its own is very quick, but here (kubuntu 18.04) I have to use bmp format (without colour info ) for input.
Never going to be very precise. This comparing trace.py and autotrace CL: https://i.imgur.com/Qqrw0Dk.jpg Of course there are parameters that can be tweaked if you have the time/patience.
Inkscape uses Autotrace for the center-line trace extension. For autotrace see: https://github.com/autotrace/autotrace
Gets a result like this. https://i.imgur.com/ak28rHc.jpg There is a warning about image size and scaling. Stroked same size as original line.
There is a Gimp plugin trace.py that uses autotrace for a centerline trace see: https://gimpchat.com/viewtopic.php?f=9&t=17485
Autotrace on its own is very quick, but here (kubuntu 18.04) I have to use bmp format (without colour info ) for input.
Code:
autotrace -color-count 2 -centerline -corner-threshold 60 -output-format svg -output-file out.svg -report-progress new.bmp
Never going to be very precise. This comparing trace.py and autotrace CL: https://i.imgur.com/Qqrw0Dk.jpg Of course there are parameters that can be tweaked if you have the time/patience.