Skip to content

Latest commit

 

History

History
25 lines (25 loc) · 648 Bytes

File metadata and controls

25 lines (25 loc) · 648 Bytes

TextImageGenerator

该脚本根据语料文件生成对应的图像文件,适用于文本识别等CV任务

根目录下的fonts文件夹用于存放字体文件, imageset文件夹用于存放输出图像和映射表, config中设置相关参数并存放语料文件, dict5990.txt是字典, sentences.txt是语料集

运行sample_generator.py即可生成数据集

效果图1

效果图2

效果图1

效果图2

效果图2

文件-类别序列映射表

效果图3

语料集:

效果图3