Skip to content

Commit c55e487

Browse files
authored
Add additional information
- minimum Leptonica version for 4.0x - sudo ldconfig
1 parent c50e4f6 commit c55e487

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

INSTALL.GIT.md

+10-5
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ the configure script.
66
If you have tesseract 4.0x installation in your system, please remove it
77
before new build.
88

9+
You need Leptonica 1.74.2 (minimum) for Tesseract 4.0x.
10+
911
Known dependencies for training tools (excluding leptonica):
1012
* compiler with c++11 support
1113
* autoconf-archive
@@ -21,18 +23,21 @@ So, the steps for making Tesseract are:
2123
$ ./configure
2224
$ make
2325
$ sudo make install
26+
$ sudo ldconfig
2427
$ make training
2528
$ sudo make training-install
2629

27-
You need to install at least English language and OSD data files to TESSDATA_PREFIX
28-
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.
30+
You need to install at least English language and OSD traineddata files to
31+
TESSDATA_PREFIX directory.
32+
33+
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.
2934

30-
All language data files can be retrieved from git repository (useful only for packagers!):
35+
All language data files can be retrieved from git repository (useful only for packagers!).
36+
(Repository is huge - more that 1.2 GB. You do NOT need to download traineddata files for
37+
all languages).
3138

3239
$ git clone https://github.com/tesseract-ocr/tessdata.git tesseract-ocr.tessdata
3340

34-
(Repository is huge - more that 1.2 GB. You do not need to download
35-
all languages).
3641

3742
You need an Internet connection to compile ScrollView.jar because the build will automatically download piccolo2d-core-3.0.jar
3843
and [piccolo2d-extras-3.0.jar](http://search.maven.org/#search|ga|1|g%3A%22org.piccolo2d%22) and place them to tesseract/java.

0 commit comments

Comments
 (0)