Comments (7)
Is the command you pasted, the one you used? -l am
does not seem right.
from textrecognitiondatagenerator.
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.
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.
I check the fonts, there is no problem with the fonts
sample font
AbyssinicaSIL-R.zip
from textrecognitiondatagenerator.
This is very weird, I was able to make it work on first try:
See my branch: https://github.com/Belval/TextRecognitionDataGenerator/tree/amharic
from textrecognitiondatagenerator.
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.
Closing since the issue is not with the project.
from textrecognitiondatagenerator.
Related Issues (20)
- requirement for Handwritten not installed HOT 4
- How to specify the font to be used? HOT 3
- Can I input with text instead a txt file? HOT 1
- DataGenerator for Cyrillic HOT 1
- Question: size of the text on the image.
- [Feature Request] support generating patterns
- tibeten generating(ligature)issue HOT 1
- Different font for each character or each word?
- Good way to cover a wide range of different fonts
- TypeError: Image data of dtype object cannot be converted to float For Handwritten Generation
- Curve Text Generation: For Scene Text Images
- Pillow Version HOT 3
- Missing modules for handwritten text generation. HOT 1
- ModuleNotFoundError: Arabic Reshaper
- For the dictionary passed in by "--dict", I want the dictionary to produce only one image in order of each line
- Option for other image formats HOT 1
- Write the labels to separate files
- sentence length of generated image.
- Freely control the number of characters
- question about generate multiline text HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from textrecognitiondatagenerator.