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

(huggingface.co)

26 points | by slymax 7 hours ago ago

4 comments

  • vblanco an hour ago 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 4 hours ago 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.

  • ArekDymalski 2 hours ago 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.

  • doyoon_123 6 hours ago 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....