tesseract 安装常见报错
1 安装软件时报错
Download error Status of equ: Send Request Error. Click OK to continue!!!
解决方案:
步骤1: 我们安装的时候先不用勾选下面的Additional language data
,直接点击next
步骤2: 下载“语言包”:
关注 猿猿的百宝箱,回复 “语言包” 即可下载。
步骤3: 将 Tesseract-3.05-中英日韩-语言包\Tesseract-3.05\tessdata
中的如下文件拷贝到 H:\Tesseract-OCR\tessdata
2 如果此时tesseract --list-langs
报错
Error opening data file \Tesseract-OCR\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! Could not initialize tesseract.
检查是否添加两个环境变量:
此时重新打开cmd,能运行成功。
重新打开cmd,输入tesseract --list-langs
检测是否成功