将训练有素的tesseract文件合并为一个 [英] combine trained tesseract files into one

查看:375
本文介绍了将训练有素的tesseract文件合并为一个的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在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文件合并为一个的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆