tesseract-ocr-setup-3.02.02.exe  下载地址:https://sourceforge.net/projects/tesseract-ocr-alt/files/tesseract-ocr-setup-3.02.02.exe/download?use_mirror=jaist&r=https%3A%2F%2Fsourceforge.net%2Fprojects%2Ftesseract-ocr-alt%2Ffiles%2F&use_mirror=jaist



关于python验证码识别库,网上主要介绍的为pytesser及pytesseract,其实pytesser的安装有一点点麻烦,所以这里我不考虑,直接使用后一种库。

python验证码识别库安装,Windows环境设置

要安装pytesseract库,必须先安装其依赖的PIL及tesseract-ocr,其中PIL为图像处理库,而后面的tesseract-ocr则为google的ocr识别引擎。

1、PIL 下载地址:

PIL-1.1.7.win-amd64-py2.7.exe    64位系统  需放到python下面

PIL-1.1.7.win32-py2.7.exe   

直接

或者直接使用pillow来代替,使用方法基本没有什么区别。

http://www.lfd.uci.edu/~gohlke/pythonlibs/#pillow

2、tesseract-ocr下载地址:

tesseract-ocr-setup-3.02.02.exe   下载之后直接运行安装即可

3、pytesseract安装

直接使用 pip install pytesseract安装即可,或者使用easy_install pytesseract


识别率还挺高的,当然这也和验证码本身有关,因为这个验证码设计的比较容易识别。