2012-03-16 05:05:12 +08:00
|
|
|
autotools (LINUX/UNIX...)
|
|
|
|
======================
|
|
|
|
|
2011-10-17 03:39:54 +08:00
|
|
|
If you have checked out Tesseract from Subversion, you must generate the
|
|
|
|
configure script.
|
|
|
|
|
|
|
|
If you have tesseract 3.0x installation in your system, please remove it
|
|
|
|
before new build.
|
2007-03-31 23:26:51 +08:00
|
|
|
|
|
|
|
So, the steps for making Tesseract are:
|
|
|
|
|
2012-03-07 06:41:43 +08:00
|
|
|
$ ./autogen.sh
|
|
|
|
$ ./configure
|
|
|
|
$ make
|
|
|
|
$ sudo make install
|
|
|
|
$ sudo make install-langs
|
2013-09-27 04:23:17 +08:00
|
|
|
$ make training
|
2013-10-31 21:14:24 +08:00
|
|
|
$ sudo make training-install
|
2012-03-07 06:41:43 +08:00
|
|
|
|
|
|
|
'sudo make install-langs' or 'sudo make install LANGS=' will install all
|
|
|
|
available language data files in tessdata directory.
|
|
|
|
|
|
|
|
If you want to install just few of them than run:
|
2012-07-29 05:17:20 +08:00
|
|
|
$ sudo make install-langs LANGS="eng ara deu"
|
2012-03-07 06:41:43 +08:00
|
|
|
It will install only English, Arabic and German language datafiles (if
|
|
|
|
they are present in tessdata directory)
|
2012-03-16 05:05:12 +08:00
|
|
|
|
2012-07-29 05:17:20 +08:00
|
|
|
$ sudo make install LANGS="eng ara deu"
|
|
|
|
will install tesseract library, tesseract programs and English, Arabic
|
|
|
|
and German language datafiles.
|
|
|
|
|
2012-03-16 05:05:12 +08:00
|
|
|
To compile ScrollView.jar you need to download piccolo.JAVA[1] from
|
|
|
|
http://www.piccolo2d.org/download.html and extract
|
|
|
|
piccolo-1.2/build/piccolo.jar to tesseract/java as piccolo-1.2.jar and
|
2012-03-24 18:14:47 +08:00
|
|
|
piccolo-1.2/build/piccolox.jar to tesseract/java as piccolox-1.2.jar.
|
2012-03-16 05:05:12 +08:00
|
|
|
|
|
|
|
Than run:
|
|
|
|
$ make ScrollView.jar
|
|
|
|
|
|
|
|
and follow instruction on Viewer Debugging wiki[2].
|
|
|
|
|
|
|
|
[1] http://www.cs.umd.edu/hcil/jazz/download/piccolo/piccolo-1.2-compiled.zip
|
|
|
|
[2] http://code.google.com/p/tesseract-ocr/wiki/ViewerDebugging
|
|
|
|
|
|
|
|
|
|
|
|
WINDOWS
|
|
|
|
=======
|
|
|
|
|
|
|
|
Please read vs2008/doc/index.html
|