1,pil or pillow (Python Imaging Library) image processing libraries
principle: The image class is a very important class in the PIL library, through which the instance can be loaded directly into the image file, read the processed graph three ways to get images like and through crawling
steps to install PIL and Pillow (Window edition)Prerequisites: Before installing PIL, you need to install Pip (Pip is a tool for installing and managing Python packages, a replacement for Easy_install) 1. First found under the Python installation package: Easy_install-(found under Python installation directory, e.g. D:\Python27\Scripts\easy_install)) 2 Use the Easy_install.exe tool to install PIP in one click, Open cmd, enter the installation command, the Operation command is as follows
Note two: (1) Enter the python27/scripts/folder (2) to enter the command: Easy_install.exe pip pip after successful installation, execute PIP under CMD, verify PIP success, the following
PIP installation succeeded: one-click installation: pillow, e.g. (note path)
2.TESSERACT-OCR short word recognition engine try to download the installation package directly Tesseract-ocr-setup-3.01-1.exe(Window version)after the installation is successful, enter it directly on the cmd command line: tesseract (verify that the installation is successful), verify that the following is successful
3.pytesseractmodule is a very useful image recognition tool
Steps to install Pytesseract (Window edition)1. Go to cmd command line 2. Enter: python27/scripts/folder, as suggested reference link: http://www.cnblogs.com/way_testlife/archive/2011/04/17/2019013.html PiL introduction http ://blog.csdn.net/a349458532/article/details/51490291 PIL TESSERACT-OCR Installation (window and Linux)
Python (pillow/tesseract-ocr/pytesseract) installation Introduction