I'm trying to train the Tesseract4.0 following the steps in the tutorial:
我正在尝试按照教程中的步骤训练Tesseract4.0:
https://github.com/tesseract-ocr/tesseract/wiki/TrainingTesseract-4.00---Replacing-Top-Layer-Example
https://github.com/tesseract-ocr/tesseract/wiki/TrainingTesseract-4.00---Replacing-Top-Layer-Example
But when I execute the command:
但是当我执行命令时:
mkdir -p ~/tesstutorial/nor_layer
mkdir -p~ / tesstutorial / nor_layer
$ combine_tessdata -e ../tessdata/nor.traineddata ~/tesstutorial/nor_layer/nor.lstm
$ combine_tessdata -e ../tessdata/nor.traineddata~ / tesstutorial / nor_layer / nor.lstm
An error message is given by the system, which is shown as following: Not extracting /home/robert/tesstutorial/nor_layer/nor.lstm, since this component is not present.
系统给出了一条错误消息,如下所示:未提取/home/robert/tesstutorial/nor_layer/nor.lstm,因为此组件不存在。
Why do I receive this error? The message in the tutorial shows: "Wrote /home/shree/tesstutorial/nor_layer/nor.lstm" represents nor.lstm will be written. But why the system hint the nor.lstm file not present? Can you help me... (Thanks)
为什么我收到此错误?教程中的消息显示:“Wrote /home/shree/tesstutorial/nor_layer/nor.lstm”代表nor.lstm将被编写。但为什么系统提示nor.lstm文件不存在?你能救我吗...(谢谢)
1 个解决方案
#1
0
It is because you are most probably using tessdata from version 3. You have to use tessdata from the tessdata_best
repository on Github.
这是因为您最有可能使用版本3中的tessdata。您必须使用Github上tessdata_best存储库中的tessdata。
#1
0
It is because you are most probably using tessdata from version 3. You have to use tessdata from the tessdata_best
repository on Github.
这是因为您最有可能使用版本3中的tessdata。您必须使用Github上tessdata_best存储库中的tessdata。