From 9e14fa45ddc87b15c8bd3b94f8c0916337c57353 Mon Sep 17 00:00:00 2001 From: Martin Monperrus Date: Fri, 24 Apr 2020 08:12:54 +0000 Subject: [PATCH] add missing lib and commands for building the training tools --- TrainingTesseract-4.00.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/TrainingTesseract-4.00.md b/TrainingTesseract-4.00.md index 80170b5..a4fbde7 100644 --- a/TrainingTesseract-4.00.md +++ b/TrainingTesseract-4.00.md @@ -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 @@ -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): @@ -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) \ No newline at end of file +[Then read the hallucination topic.](The-Hallucination-Effect.md)