1.安装python需要的包
(1).pip install pillow.
(2).pip install pytesser3
(3).pip install pytesseract
(4).pip install wheel
2.安装Tesseract-OCR
稳定版:https://digi.bib.uni-mannheim.de/tesseract/tesseract-ocr-setup-3.05.01.exe
语言包:
下载完成后放到百度网盘:链接: https://pan.baidu.com/s/1phRCtsv3FKNORfOEvt9L1g 提取码: 4mcf 复制这段内容后打开百度网盘手机App,操作更方便哦
语言包位置:
3.安装配置环境
(1)TESSDATA_PREFIX
(2)PATH下增加
(3)修改python\Lib