Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Automation questions.
#5
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.
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.
Reply


Messages In This Thread
Automation questions. - by PSNick - 10-10-2019, 01:00 AM
RE: Automation questions. - by Ofnuts - 10-10-2019, 07:07 AM
RE: Automation questions. - by PSNick - 10-11-2019, 04:45 AM
RE: Automation questions. - by Ofnuts - 10-11-2019, 06:24 AM
RE: Automation questions. - by rich2005 - 10-11-2019, 08:41 AM
RE: Automation questions. - by PSNick - 10-13-2019, 01:48 AM
RE: Automation questions. - by Ofnuts - 10-13-2019, 09:18 AM

Forum Jump: