Install Tesseract 4.0-Ubuntu

From XPUB & Lens-Based wiki
Revision as of 11:55, 28 January 2018 by Angeliki (talk | contribs) (Created page with "=== 1. Installing tesseract 4.0 with training. === Make a folder where you install all these and go there Follow the instructions: https://github.com/tesseract-ocr/tesseract...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

1. Installing tesseract 4.0 with training.

Make a folder where you install all these and go there

Follow the instructions: https://github.com/tesseract-ocr/tesseract/wiki/Compiling#linux

Leptonica: 2nd step:Using autoconf. Run ./configure in this directory to build Makefiles here and in src. Autoconf handles the following automatically:

./autobuild and then ./configure


After Leptonica: https://github.com/tesseract-ocr/tesseract/wiki/Compiling-%E2%80%93-GitInstallation with Sudo and make sure you are in the tesseract folder


Now the executable tesseract is inb ls /usr/local/bin


2. Building the training tools:

https://github.com/tesseract-ocr/tesseract/wiki/Training-Tesseract#building-the-training-tools (only make training sudo make...)

they are in /usr/local/bin/ (check if you have the files there)

3. TrainingTesseract 4.00

create a folder for the training (next to tesseract for example) https://github.com/tesseract-ocr/tesseract/wiki/TrainingTesseract-4.00