Skip to content

add missing lib and commands for building the training tools #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions TrainingTesseract-4.00.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ Beginning with 3.03, additional libraries are required to build the training
tools.

```bash
sudo apt-get install libicu-dev libpango1.0-dev libcairo2-dev
sudo apt-get install autoconf automake libtool shtool libicu-dev libpango1.0-dev libcairo2-dev libleptonica-dev
```

# Building the Training Tools
Expand All @@ -109,6 +109,9 @@ additional libraries have been installed, run the following from the Tesseract
source directory:

```bash
git clone https://github.com/tesseract-ocr/tesseract/
cd tesseract/
./autogen.sh
./configure
```
or if you plan to run in docker (or do not require graphics):
Expand Down Expand Up @@ -1208,4 +1211,4 @@ If you notice that your model is misbehaving, for example by:
* Adding `Space` where it should not do that.
* etc...

[Then read the hallucination topic.](The-Hallucination-Effect.md)
[Then read the hallucination topic.](The-Hallucination-Effect.md)