Skip to content

About

该脚本能够将用户指定的字符输出为不同字体的图像文件,用于训练文字识别的机器学习模型或用于其他文字识别OCR项目

Resources

Stars

44 stars

Watchers

1 watching

Forks

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChineseCharacterGenerator

该脚本能够将用户指定的字符输出为不同字体的图像文件,用于训练文字识别的机器学习模型或用于其他文字识别OCR项目

根目录下的fonts文件夹用于存放ttf字体文件, outputs文件夹用于存放输出图像, config中存放配置文件和字典dict

draw_chara.py是实际的脚本,运行draw_chara.py即可在outputs文件夹中得到输出图像。

效果图1

效果图2

About

该脚本能够将用户指定的字符输出为不同字体的图像文件,用于训练文字识别的机器学习模型或用于其他文字识别OCR项目

Resources

Stars

44 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages