2012-03-16 05:05:12 +08:00
|
|
|
autotools (LINUX/UNIX...)
|
|
|
|
======================
|
|
|
|
|
2014-08-15 05:37:17 +08:00
|
|
|
If you have checked out Tesseract from Subversion, you must generate
|
|
|
|
the configure script.
|
2011-10-17 03:39:54 +08:00
|
|
|
|
|
|
|
If you have tesseract 3.0x installation in your system, please remove it
|
|
|
|
before new build.
|
2007-03-31 23:26:51 +08:00
|
|
|
|
2014-08-15 05:37:17 +08:00
|
|
|
Known depencies for training tools (excluding leptonica):
|
|
|
|
* compiler with c++ support
|
|
|
|
* pango-devel
|
|
|
|
* cairo-devel
|
|
|
|
* icu-devel
|
|
|
|
|
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
|
2013-09-27 04:23:17 +08:00
|
|
|
$ make training
|
2013-10-31 21:14:24 +08:00
|
|
|
$ sudo make training-install
|
2014-08-15 05:37:17 +08:00
|
|
|
|
2014-08-22 17:52:38 +08:00
|
|
|
You need to install at least English language data file to TESSDATA_PREFIX
|
|
|
|
directory. All language data files can be retrieved from git repository:
|
2014-08-15 05:37:17 +08:00
|
|
|
$ git clone https://code.google.com/p/tesseract-ocr.tessdata/ tessdata
|
2012-07-29 05:17:20 +08:00
|
|
|
|
2014-08-03 04:59:19 +08:00
|
|
|
To compile ScrollView.jar you need to download piccolo2d-core-3.0.jar
|
|
|
|
and piccolo2d-extras-3.0.jar[1] and place them to tesseract/java.
|
2012-03-16 05:05:12 +08:00
|
|
|
|
|
|
|
Than run:
|
|
|
|
$ make ScrollView.jar
|
|
|
|
|
|
|
|
and follow instruction on Viewer Debugging wiki[2].
|
|
|
|
|
2014-08-03 04:59:19 +08:00
|
|
|
[1] http://search.maven.org/#search|ga|1|g%3A%22org.piccolo2d%22
|
2012-03-16 05:05:12 +08:00
|
|
|
[2] http://code.google.com/p/tesseract-ocr/wiki/ViewerDebugging
|
|
|
|
|
|
|
|
|
|
|
|
WINDOWS
|
|
|
|
=======
|
|
|
|
|
2014-08-03 04:59:19 +08:00
|
|
|
Please read vs2008/doc/index.html and http://vorba.ch/2014/tesseract-3.03-vs2013.html
|