jTessBoxEditov2.2.0训练样本没有生成预期文件

jTessBoxEditov2.2.0训练样本执行到mftraining -F font_properties -U unicharset -O test.unicharset test.font.exp0.tr命令,没有生成预期的“shapetable”“inttemp”“pffmtable”

1、使用画图创建了3个tif样本,然后jTessBoxEditov2.2.0 Merge tiff 为test.font.exp0.tif,
2.、执行tesseract test.font.exp0.tif test.font.exp0 -l eng --psm 7 batch.nochop makebox生成 test.font.exp0.box
3、jTessBoxEditov2.2.0 进行样本矫正
4、创建了font_properties文件
font 0 0 0 0 0

然后执行.bat文件训练,但是执行到mftraining -F font_properties -U unicharset -O test.unicharset test.font.exp0.tr一直没有生成“shapetable”“inttemp”“pffmtable”文件。

img

.bat文件在网上找的
echo Run Tesseract for Training..
tesseract test.font.exp0.tif test.font.exp0 -l eng --psm 7 nobatch box.train

echo Compute the Character Set..
unicharset_extractor test.font.exp0.box
mftraining -F font_properties -U unicharset -O test.unicharset test.font.exp0.tr

echo Clustering..
cntraining test.font.exp0.tr

echo Rename Files..
rename normproto test.normproto
rename inttemp test.inttemp
rename pffmtable test.pffmtable
rename shapetable test.shapetabl

echo Create Tessdata..
combine_tessdata test.

echo. & pause

运行结果及报错内容
我的解答思路和尝试过的方法
我想要达到的结果

已解决了。之前安装的tesseract,又下载了jTessBoxEditor,所以mftraining命令有2个目录的,默认执行的是tesseract目录下的,改成执行jTessBoxEditor下的解决了

如果没有得到预期效果我可以帮你