Hi Everyone,

It already solved, the root cause is because of some missing command in 
Makefile.am,
https://github.com/tesseract-ocr/tesseract/issues/1453#issuecomment-749104511

Really thankful someone has the same problem and the maintainer does some 
quick fix (I think this is the consequence of using a pre-release build).
Thank you
On Wednesday, December 23, 2020 at 2:51:07 AM UTC+7 Killua Zaoldyeck wrote:

> Hi Everyone,
>
> I am a newbie in tesseract-ocr, to increase OCR accuracy, I need to train 
> Tesseract OCR Best Model with specific font, so I follow this instruction 
> using docker environment :
>
> *https://github.com/artdevgame/tesseract-trainer 
> <https://github.com/artdevgame/tesseract-trainer>*
>
> Docker environment was built successfully But, when I try to run the 
> docker using this command :
> > docker-compose up
>
> Some error occur (see error.png), 
> train-ocr | === Starting training for language 'eng'
> train-ocr | [Tue 22 Dec 09:56:29 UTC 2020] /usr/local/bin/text2image 
> --fonts_dir=/app/src/fonts --ptsize 12 --font=Euphemia 
> --outputbase=/tmp/font_tmp.HxWnwCr9FZ/sample_text.txt 
> --text=/tmp/font_tmp.HxWnwCr9FZ/sample_text.txt 
> --fontconfig_tmpdir=/tmp/font_tmp.HxWnwCr9FZ
> train-ocr | /usr/local/bin/text2image: error: 
> '/usr/local/bin/.libs/text2image' does not exist
> train-ocr | This script is just a wrapper for text2image.
> train-ocr | See the libtool documentation for more information.
> train-ocr | ERROR: Program text2image failed. Abort.
> train-ocr | /usr/local/bin/combine_tessdata: error: 
> '/usr/local/bin/.libs/combine_tessdata' does not exist
> train-ocr | This script is just a wrapper for combine_tessdata.
> train-ocr | See the libtool documentation for more information.
> train-ocr | /usr/local/bin/lstmeval: error: 
> '/usr/local/bin/.libs/lstmeval' does not exist
> train-ocr | This script is just a wrapper for lstmeval.
> train-ocr | See the libtool documentation for more information.
> train-ocr | /usr/local/bin/lstmtraining: error: 
> '/usr/local/bin/.libs/lstmtraining' does not exist
> train-ocr | This script is just a wrapper for lstmtraining.
> train-ocr | See the libtool documentation for more information.
> train-ocr | /usr/local/bin/lstmtraining: error: 
> '/usr/local/bin/.libs/lstmtraining' does not exist
> train-ocr | This script is just a wrapper for lstmtraining.
> train-ocr | See the libtool documentation for more information.
> train-ocr | /usr/local/bin/lstmeval: error: 
> '/usr/local/bin/.libs/lstmeval' does not exist
> train-ocr | This script is just a wrapper for lstmeval.
> train-ocr | See the libtool documentation for more information.
> train-ocr exited with code 1
>
>
>
> It causes by dir /usr/local/bin/.libs/[package_name] doesn't exists.
> Fyi, I am using Tesseract v.5.0.0 (see version.png),
>
> Please help me, 
> Thanks in advance. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tesseract-ocr+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/16c3c991-daa0-4bb6-8db0-7535882d3409n%40googlegroups.com.

Reply via email to