发布于 2016-10-30 13:53:16
您需要配置文件夹下的tessdata\configs
文件。
发布于 2017-05-23 14:53:26
我建议您在lang.traineddata Linux上培训tesseract,并在上使用。我在linux上训练了 tesseract 3.04,方法是跟踪批处理文件(train.sh),并在Windows上使用far.traineddata。
for i in `ls -1 *.png`; do j=`echo $i| sed "s/\.png//"`;enter code heretesseract $i $j nobatch box.train; done
unicharset_extractor *.box
shapeclustering -F font_properties -U unicharset -O far.unicharset *.tr
mftraining -F font_properties -U unicharset -O far.unicharset *.tr
cntraining *.tr
mv normproto far.normproto; mv inttemp far.inttemp; mv pffmtable far.pffmtable; mv shapetable far.shapetable
combine_tessdata far.
https://stackoverflow.com/questions/40327938
复制相似问题