-
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how can I use my own corpus to generate images? #2
Comments
You can provide your own corpus' word here L121. |
thank you for the reply. I tried to put my own corpus like this:
but the letters on the picture are separated. it seems like Uighur should be first converted to Latin letters through the uly_char_map.
But the Uyghur characters I got from here [https://github.com/JaidedAI/EasyOCR/blob/master/easyocr/character/ug_char.txt] |
Here is your answer. # from lang.ug.util.convert import br_2_pf
word = br_2_pf('جىنپىڭ') |
In the code, words are randomly generated and then pictures are generated.
so how can I use a fixed corpus to generate data?
thanks.
The text was updated successfully, but these errors were encountered: