Code Monkey home page Code Monkey logo

Comments (3)

myungkyuKoo avatar myungkyuKoo commented on July 28, 2024
image

Prompt: A blue traffic sign with the words "Welcome!" written on it

image

Prompt: A newspaper whose title is "Breaking News"

Not only is the given template incorrect, but the general rendering access is also poor (all the parameters are set to the default values provided in the repository). Am I doing something wrong?

from anytext.

tyxsspa avatar tyxsspa commented on July 28, 2024

That's not quite normal. Are the versions of your dependency libraries consistent with those in environment.yaml, such as opencv, transformers, and xformers? Are you using the Arial_Unicode.ttf font file?

from anytext.

myungkyuKoo avatar myungkyuKoo commented on July 28, 2024
image image

Here are the glyph images obtained through debugging, each from the HuggingFace demo (left) and my server (right) respectively.
I believe that I'm using the correct font style file (Arial_Unicode.ttf), but the font sizes are different, which might be causing the issue.

I'm looking for possible problems, but do you have any ideas?

Oh, I found that the font file I downloaded from the internet (arialuni.ttf) was not compatible.
After I replaced it with the default font file on my Mac, the problem was solved :) Thanks for your kind help!

from anytext.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.