AIGText / Glyph-ByT5

This is an official inference code of the paper "Glyph-ByT5: A Customized Text Encoder for Accurate Visual Text Rendering" and "Glyph-ByT5-v2: A Strong Aesthetic Baseline for Accurate Multilingual Visual Text Rendering""
https://glyph-byt5.github.io/
Apache License 2.0
367 stars 20 forks source link

Nice job!!! But is this algorithm function similar with ImageDraw.Draw()? #6

Open machengcheng2016 opened 1 week ago

machengcheng2016 commented 1 week ago

Greetings, and really nice job !!! I tried the huggingface demo. I wonder if the ImageDraw.Draw() function can do the similar thing? Because the layout is given by users, and the text box should be better horizontal (i found the vertical box sometimes leads to duplicate letters).