> run.py
Parameter | Description | Default |
---|---|---|
dir_ttf | path of the directory including ttf files | ttfs |
dir_save | path for the output directory | dataset_glyph |
path_txt | path of the input text | text.txt |
size_img | size for the output image | 224 |
dir_ttf
+-- 1.ttf
+-- 2.ttf
+ ...
+-- N.ttf
[1] 1001 Free Fonts: https://www.1001freefonts.com/