Python (pillow/tesseract-ocr/pytesseract) installation Introduction

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.