Baidu's Unlimited SVG generates SVGs from images stroke by stroke

(huggingface.co)

32 points | by slymax 20 hours ago ago

4 comments

  • vblanco 15 hours ago

    Ive been testing this and its incredible. It pairs very well with unlimited-ocr which is also their model for doing general document parsing, and then you use this to convert the various charts and diagrams to SVG. Ive ran it on Game Programming Gems book, which has lots of complicated charts, and it did a fantastic work. Better than anything ive seen, stronger than for example making claude clone the charts (and it does it much faster). It does have a error rate, some small words that are hard to reaad might flip, and some very complicated and detailed diagrams can get a bit lost.

    Its quality on art seems to be mediocre, the real power of this model is to digitalize diagrams.

  • SillyUsername 18 hours ago

    For a more traditional way of doing this with a genetic algorithm instead (not AI written project)

    https://github.com/KodeMunkie/shapesnap

    Full disclosure, that's my repo, forked and improved on an abandoned original.

  • doyoon_123 20 hours ago

    so it's basically deepseek-ocr finetune. the language model in its config matches deepseek-ocr's. the readme does say built on deepseek-ocr, but the 'just 0.5B activated parameters' pitch is that decoder, not something new here https://huggingface.co/baidu/Unlimited-SVG/blob/main/config....

  • ArekDymalski 16 hours ago

    Interesting. I wonder if having the image represented that way as vectors instead of pixels would also help the AI understand the world better or rather it would introduce a whole new set of errors.