Belval / TextRecognitionDataGenerator

A synthetic data generator for text recognition
MIT License
3.24k stars 966 forks source link

Urdu data generation #199

Closed abdur75648 closed 3 years ago

abdur75648 commented 3 years ago

It was not working for Urdu (The images were generated but they were blank. After few improvements, I was able to generate images but all the characters were being shown separately. Then, I used arabic_reshaper which made it work. Also, out of the many fonts, I tried only 'Sahel.ttf' worked. The remaining were showing rectangular boxes instead of text).

Now, it's perfectly working for the Urdu language. One can try the command 'trdg -l ur -c 100 -w 5'.