Installing Tesseract 3.04+ in Ubuntu 14.04

Artem Malynovskyi
Jan 5, 2017 · 2 min read
sudo apt-get install python-distutils-extra tesseract-ocr tesseract-ocr-eng libopencv-dev libtesseract-dev libleptonica-dev python-all-dev swig libcv-dev python-opencv python-numpy python-setuptools build-essential subversionsudo apt-get install autoconf automake libtool
sudo apt-get install libpng12-dev libjpeg62-dev libtiff4-dev zlib1g-dev
sudo apt-get install libicu-dev libpango1.0-dev libcairo2-dev
tar xvf leptonica-1.74.tar.gz
cd leptonica-1.74
sudo make install
git clone
cd tesseract
./configure --enable-debug
LDFLAGS="-L/usr/local/lib" CFLAGS="-I/usr/local/include" make
sudo make install
sudo ldconfig
>tesseract -vtesseract 4.00.00alpha-241-g6f83ba0
libjpeg 8d (libjpeg-turbo 1.3.0) : libpng 1.2.50 : libtiff 4.0.3 : zlib 1.2.8
Found AVX
Found SSE
pip install tesserocr

Artem Malynovskyi

Written by

Co-founder and CTO @ Mawi Solutions. Wearables, AI, Software Architecture

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade