mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-27 20:59:36 +08:00
3993f0fb96
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@899 d0cd1f9f-072b-0410-8dd7-cf729c803f20
50 lines
1.4 KiB
Plaintext
50 lines
1.4 KiB
Plaintext
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.
|
|
|
|
So, the steps for making Tesseract are:
|
|
|
|
$ ./autogen.sh
|
|
$ ./configure
|
|
$ make
|
|
$ sudo make install
|
|
$ sudo make install-langs
|
|
$ make training
|
|
$ sudo make training-install
|
|
|
|
'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:
|
|
$ sudo make install-langs LANGS="eng ara deu"
|
|
It will install only English, Arabic and German language datafiles (if
|
|
they are present in tessdata directory)
|
|
|
|
$ sudo make install LANGS="eng ara deu"
|
|
will install tesseract library, tesseract programs and English, Arabic
|
|
and German language datafiles.
|
|
|
|
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
|
|
piccolo-1.2/build/piccolox.jar to tesseract/java as piccolox-1.2.jar.
|
|
|
|
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
|