Error opening data file ./eng.traineddata
程序员文章站
2022-07-05 21:55:38
...
在Mac上安装 tesseract 成功后,使用tess4j 出现这个错误
Error opening data file ./eng.traineddata
Please make sure the TESSDATA_PREFIX environment variable is set to your "tessdata" directory.
Failed loading language 'eng'
Tesseract couldn't load any languages!
Warning: Invalid resolution 0 dpi. Using 70 instead.
解决办法进入到 /usr/local/Cellar/tesseract/4.1.1/share/tessdata 把eng.traineddata 加入到工程目录中
上一篇: 期末考试
推荐阅读
-
mysqld_safe error: log-error set to '/data/log/mysqld.log', however file don't exists. Create writable for user 'mysql'.The server
-
Tomcat启动报错:org.apache.catalina.LifecycleException: Failed to start component...java.util.zip.ZipException: error in opening zip file
-
【已解决】Error opening data file ./chi_sim.traineddata Please make sure the TESSDATA_PREFIX environment
-
Error opening data file ./eng.traineddata
-
Android Studio报错 Cause: error in opening zip file解决方案
-
mysqld_safe error: log-error set to '/data/log/mysqld.log', however file don't exists. Create writable for user 'mysql'.The server
-
Tomcat启动报错:org.apache.catalina.LifecycleException: Failed to start component...java.util.zip.ZipException: error in opening zip file
-
Android Studio报错 Cause: error in opening zip file解决方案