执行命令 python run.py
#注意训练命令参数可选:
-output_dir 默认output,可自定义生成数据保存位置
-l 语言,可选en(英语)、cn(汉语)
-c 选择字符串数量(默认大于20)
-w 多少个字符,默认大于0个
-r 字符是否随机选取,基于w
-fs 自定义font size
-b 背景图文件夹路径--w 多少个字符,默认大于0个
-wd 文字宽度
-or 水平(0)或竖直(1)
-sw 文字空间距离,默认1
yangheng111 / textdetectdatagenerator Goto Github PK
View Code? Open in Web Editor NEW检测人工数据生成