vtracer icon indicating copy to clipboard operation
vtracer copied to clipboard

Automated mode

Open dbalabka opened this issue 4 years ago • 4 comments

Thanks for such a needed and great project! During my exploration, I've tried to achieve similar quality to VectorMagic automated mode by adjusting different input parameters in https://www.visioncortex.org/vtracer/. Unfortunately, I didn't succeed. Also, manual parameters adjustments are very time-consuming.

In terms of quality I mean:

  1. Less complicated shapes
  2. More robustness on image noise

So, I had a thought that it would be great to have an automated mode. Probably, it would be possible to optimize parameters by employe some optimization frameworks (e.g. Hyperopt, Optuna) and optimize some quality function. Another assumption is that it might be a limitation of the VTrace algorithm.

If it is possible could you please give me a hint on where to dig to improve output SVG quality? I would love to contribute to your project to improve the quality of output SVG.

dbalabka avatar Sep 08 '21 11:09 dbalabka

I think you didn't succeed :( Have you looked at visioncortex/visionmagic ? It indeed addressed the two factors you mentioned: shape complexity and image complexity.

tyt2y3 avatar Sep 08 '21 12:09 tyt2y3

@tyt2y3, I've tried to use visioncortex/visionmagic. Unfortunately, it leads to similar results or even worse.

I'm looking for a tool that will accurately convert the raster version of SVG back to SVG. If we will take a look at an example in VTrace Demo, we will see a lot of artifacts: image image

I tried to play around with parameters, but unfortunately, it does not lead to any quality improvements. In comparison, Vector Magic outputs almost perfect SVG.

dbalabka avatar Sep 09 '21 20:09 dbalabka

Hi @dbalabka, do you have another solution like Vectormagic?

TorRient avatar Jan 04 '22 04:01 TorRient

@TorRient probably, Vtracer is the best alternative. I didn't find anything better.

dbalabka avatar Jan 05 '22 10:01 dbalabka