选用的初始traineddata文件必须是从traindata_best中下载的文件,否则会报错
Loaded file out_mnist\eng.lstm, unpacking...
Warning: LSTMTrainer deserialized an LSTMRecognizer!
Error, out_mnist\eng.lstm is an integer (fast) model, cannot continue training
Failed to continue from: out_mnist\eng.lstm
解决方法:
去https://gitcode.com/mirrors/tesseract-ocr/tessdata_best/tree/main
下载对应traineddata文件放在tessdata文件夹下面