Thanks to THIS post I was able to install tesseract 3 on 10.04 Ubuntu. This is how:
Install Tesseract
Get the required packages available in the repositories:
sudo apt-get install libpng12-dev
sudo apt-get install libjpeg62-dev
sudo apt-get install libtiff4-dev
("sudo apt-get install zlibg-dev" is suggested in the Tesseract readme but isn't available. I found I didn't need this.)
I picked this up from a comment made, you need to be able to compile and make the software. Ubuntu needs some packages to help do this. For many of you these may already be present and installed but it doesn't hurt..
sudo apt-get install gcc
sudo apt-get install g++
sudo apt-get install automake
Download this program which can't be gained with apt-get:
http://www.leptonica.org/download.html version 1.70
unpack, navigate to the folder in terminal, and run:
./configure
make
sudo make install
sudo ldconfig
Now we can actually get and install Tesseract!
download tesseract: https://code.google.com/p/tesseract-ocr/downloads/list version 3.02.02
unpack, navigate to the folder in terminal, and run:
./configure
make
sudo make install
sudo ldconfig (<-- important="" is="" p="" this="" very="">
Now for whatever reason the training data isn't installed with this.
download whatever language you need and unzip to /usr/local/share/tessdata folder (requires root permissions)
also download osd traineddata from for example here
try with:
sudo nautilus
-->
Nincsenek megjegyzések:
Megjegyzés küldése