Open caihaibin1991 opened 2 years ago
look at run.py and function main.
also you read document or source code to khow how to generate str and image
@caihaibin1991
1- First clone you need to clone the repo git clone https://github.com/Mohammed20201991/TextRecognitionDataGeneratorHuMu23.git
or you can clone the original one made by cc @Belval
2- pip install requirements.txt
3- cd TextRecognitionDataGeneratorHuMu23/trdg/
4- python3 run.py -c 10
by default it uses English and in this case, will read words from trdg/dicts/en.txt
and you can see the results inout
dir
how can I run trdg in python, but not execute file ?