Installation and configuration under Windows using Tesseract

1. Download the installation package Tesseract

You can go to the official website to download, you can download the software park, mainly to see the speed.

Here I provide a network drive for you to download:
Link: https://pan.baidu.com/s/1oEsV-ORJ75y1SsMpPN6Nog
extraction code: ju4w

2. Install

Keep pressing next on the list, because Tesseract not connect to the server, you can not choose to download multiple languages ​​at the time of installation, there is a need, then you can download additional online, not considered here.

3. Set Environment Variables

Here Insert Picture Description

Here Insert Picture Description

Here Insert Picture Description

Here Insert Picture Description

Tesseract fill the directory where you just installed, usually the default is D: \ Program Files (x86) \ Tesseract-OCR

Test Environment Variables

Open the CMD, enter tesseract -v, if present at the contents of the configuration was successful
Here Insert Picture Description

Image recognition begins, the following Example FIG.
Here Insert Picture Description

Here only supports English, if you want to identify other languages, you need to go online to download the installation package.

Here Insert Picture Description

Put away the picture, it is recommended under on the path to full English.

Cmd into the
input cd /
Here Insert Picture Description
into the disk D

Here Insert Picture Description

Type cd followed by a space, cmd dragged into the folder inside, you can quickly enter the folder.
Here Insert Picture Description

Here Insert Picture Description

Start image recognition

Enter the name tesseract image resulting output file name

E.g.
tesseract timg [8] .jpg result6

Here Insert Picture Description

Here Insert Picture Description

View result6.txt file
Here Insert Picture Description

Successfully identified
Here Insert Picture Description

Published 100 original articles · won praise 25 · views 10000 +

Guess you like

Origin blog.csdn.net/qq_43576028/article/details/102907170