unable to read cube language model params from eng.cube.lm
Please make sure the TESSDATA_PREFIX environment variable is set to the parent directory of your "te
首先记得配置环境变量
export TESSDATA_PREFIX="/usr/local/share/tessdata"
export PATH=$PATH:$TESSDATA_PREFIX
然后是项目中设置set.DataPath("/usr/local/share/tessdata")
语言包的版本一定要对应,https://github.com/tesseract-ocr/tessdata/tree/3.04.00