Add additional information

- minimum Leptonica version for 4.0x
- sudo ldconfig
This commit is contained in:
Shreeshrii 2017-09-12 11:32:27 +05:30 committed by GitHub
parent c50e4f6238
commit c55e487ea4

View File

@ -6,6 +6,8 @@ the configure script.
If you have tesseract 4.0x installation in your system, please remove it
before new build.
You need Leptonica 1.74.2 (minimum) for Tesseract 4.0x.
Known dependencies for training tools (excluding leptonica):
* compiler with c++11 support
* autoconf-archive
@ -21,18 +23,21 @@ So, the steps for making Tesseract are:
$ ./configure
$ make
$ sudo make install
$ sudo ldconfig
$ make training
$ sudo make training-install
You need to install at least English language and OSD data files to TESSDATA_PREFIX
directory. You can retrieve single file with tools like [wget](https://www.gnu.org/software/wget/), [curl](https://curl.haxx.se/), [GithubDownloader](https://github.com/intezer/GithubDownloader) or browser.
You need to install at least English language and OSD traineddata files to
TESSDATA_PREFIX directory.
All language data files can be retrieved from git repository (useful only for packagers!):
You can retrieve single file with tools like [wget](https://www.gnu.org/software/wget/), [curl](https://curl.haxx.se/), [GithubDownloader](https://github.com/intezer/GithubDownloader) or browser.
All language data files can be retrieved from git repository (useful only for packagers!).
(Repository is huge - more that 1.2 GB. You do NOT need to download traineddata files for
all languages).
$ git clone https://github.com/tesseract-ocr/tessdata.git tesseract-ocr.tessdata
(Repository is huge - more that 1.2 GB. You do not need to download
all languages).
You need an Internet connection to compile ScrollView.jar because the build will automatically download piccolo2d-core-3.0.jar
and [piccolo2d-extras-3.0.jar](http://search.maven.org/#search|ga|1|g%3A%22org.piccolo2d%22) and place them to tesseract/java.