Giter VIP home page Giter VIP logo

Comments (7)

Belval avatar Belval commented on May 17, 2024

Is the command you pasted, the one you used? -l am does not seem right.

from textrecognitiondatagenerator.

direselign avatar direselign commented on May 17, 2024

This is the command that I use
python run.py -w 5 -f 64 -l am
it works with the default, but when I add a new font(Amharic) abbreviated am it is not working

from textrecognitiondatagenerator.

Belval avatar Belval commented on May 17, 2024

Assuming that you added your the language correctly (if you have a branch somewhere I can take a look), the stacktrace seems to indicate that your font file is not a valid .ttf or .otf file. If you want you can load it with Pillow's ImageFont in an interpreter and see if it throws the same exception.

from textrecognitiondatagenerator.

direselign avatar direselign commented on May 17, 2024

I check the fonts, there is no problem with the fonts
sample font
AbyssinicaSIL-R.zip

from textrecognitiondatagenerator.

Belval avatar Belval commented on May 17, 2024

This is very weird, I was able to make it work on first try:

_1

See my branch: https://github.com/Belval/TextRecognitionDataGenerator/tree/amharic

from textrecognitiondatagenerator.

direselign avatar direselign commented on May 17, 2024

Thank you for your support. I think the problem is not in the code there may be a library that is not working correctly in my environment. After generating three or more images the program terminates.

from textrecognitiondatagenerator.

Belval avatar Belval commented on May 17, 2024

Closing since the issue is not with the project.

from textrecognitiondatagenerator.

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.