问题描述
我在Mac上使用的是最新版本的Tesseract.我在一个文件夹中有一个eng.traineddata,在另一个文件夹中有一个eng.traineddata.我希望将我的训练有素的数据文件组合成一个大的训练有素的字体文件.
I am using the most recent version of Tesseract on my Mac. I have one eng.traineddata in one folder and one eng.traineddata in another folder. I wish to combined my traineddata files into one big trained font file.
谁能告诉我该怎么做?我在某处读到-l命令可能是我需要的.
Can anyone tell me how to do this? I have read somewhere that the -l command may be what I need.
谢谢!
推荐答案
Tesseract不在两个不同的文件夹中查找语言数据.您可以做的就是将其中之一重命名为eng1.traineddata
,然后将其指定为tesseract
命令的-l eng+eng1
选项.
Tesseract does not look for language data at two different folders. What you can do is rename one of them, e.g., to eng1.traineddata
, and then specify them as -l eng+eng1
option to the tesseract
command.
这篇关于将训练有素的tesseract文件合并为一个的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!