Questions and troubles on training tesseract.

628 views
Skip to first unread message

Bora Semiz

unread,
Feb 24, 2015, 6:00:41 PM2/24/15
to tesser...@googlegroups.com
Hello. I heard the tesseract name just a few days ago and I researched it a little. Its feature that it can be trained for another languages interested me, since I am working on a project in which I have to create my own font and character sets. I was going through the steps of training tesseract, but I couldn't figure out building the 'training the tesseract-ocr' (https://code.google.com/p/tesseract-ocr/wiki/TrainingTesseract3#Building_the_training_tools). I am using Ubuntu 12.04 x64, and downloaded the tesseract from synaptic package manager. I also downloaded the source code of version 3.02.02 which is also same with which I downloaded from package manager (https://code.google.com/p/tesseract-ocr/downloads/detail?name=tesseract-ocr-3.02.02.tar.gz&can=2&q=). When I try to do this:

$ make training
$ sudo make training
-install

it gives me an error which says;
bora@bora-PC:~/Desktop/tesseract-ocr/training$ make training
make
: *** No rule to make target `training'.  Stop.
bora@bora-PC:~/Desktop/tesseract-ocr/training$

I have also successfully installed the required libraries, which are;

sudo apt-get install libicu-dev
sudo apt
-get install libpango1.0-dev
sudo apt
-get install libcairo2-dev

Any help would be appreciated.


Raffael

unread,
Mar 16, 2015, 4:25:32 PM3/16/15
to tesser...@googlegroups.com
Hi Bora,

that's because on Ubuntu this is only going to work if you build tesseract from scratch - i.e. compile its sources.

I outline the steps and link to further information in an tutorial on my web-site:


Kind regards

Raffael

PS: It's really a shame that such a great software is lacking a vivid and helpful community :/
Reply all
Reply to author
Forward
0 new messages