TextRecognitionDataGenerator
TextRecognitionDataGenerator copied to clipboard
A synthetic data generator for text recognition
Is there a way to generate random oriented and multiple line data by GenerateFromString?
Hi, I am trying to create handwritten text. But the images being generated are way too small. For the same command for printed text the images are fine, giving same...
For example, the background image size is 512 * 512, while the font on the background image is 15px. Thanks~
when I input this command trdg --output_dir /Users/zhaoyu/Desktop/synthimage/ -c 2 -rs -sym -r -f 64 -k 4 -rk --blur 3 --random_blur -b 3 -cs 0 -fi -ft /Users/zhaoyu/Desktop/MicrosoftYaHeiUI.ttf then 0%|...
When I customize the dictionary, the - W parameter does not work. It still generates one picture per line. My requirement is that multiple lines of data and multiple Z...
thank you for your awesome work. i tried to generate bangla synthetic data using this library by following this tutorials : https://textrecognitiondatagenerator.readthedocs.io/en/latest/index.html first i created virtual env like this :...
Need a ratio parameter in text generator to decide the ratio of text and numbers in generated images.
Realise that the mask set to (0,0,0) at line 230 in [handwritten_text_generator.py](https://github.com/Belval/TextRecognitionDataGenerator/blob/master/trdg/handwritten_text_generator.py) will cause ZeroDivisionError at line 186 in [data_generator.py](https://github.com/Belval/TextRecognitionDataGenerator/blob/master/trdg/data_generator.py) . I believe it is due to all pixels are...
Hey, Right now, the `GeneratorFromDict` doesn't have support for using a custom dict, it only uses the language one. This is bad, since when generating data, you probably would like...