-
Notifications
You must be signed in to change notification settings - Fork 3
/
INSTALL.GIT
44 lines (31 loc) · 1.17 KB
/
INSTALL.GIT
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
autotools (LINUX/UNIX...)
======================
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.
Known depencies for training tools (excluding leptonica):
* compiler with c++ support
* pango-devel
* cairo-devel
* icu-devel
So, the steps for making Tesseract are:
$ ./autogen.sh
$ ./configure
$ make
$ sudo make install
$ make training
$ sudo make training-install
You need to install at least English language data file to TESSDATA_PREFIX
directory. All language data files can be retrieved from git repository:
$ git clone https://code.google.com/p/tesseract-ocr.tessdata/ tessdata
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.
Than run:
$ make ScrollView.jar
and follow instruction on Viewer Debugging wiki[2].
[1] http://search.maven.org/#search|ga|1|g%3A%22org.piccolo2d%22
[2] http://code.google.com/p/tesseract-ocr/wiki/ViewerDebugging
WINDOWS
=======
Please read vs2008/doc/index.html and http://vorba.ch/2014/tesseract-3.03-vs2013.html