Re: [tesseract-ocr] ERROR: Program text2image failed. Abort.

260 views
Skip to first unread message
Message has been deleted

Zdenko Podobny

unread,
Sep 6, 2019, 11:10:10 AM9/6/19
to tesser...@googlegroups.com
Do you understand error message ("/usr/local/bin/text2image: error while loading shared libraries: libtesseract.so.5: cannot open shared object file: No such file or directory")?
IMO it is clear.

Zdenko


pi 6. 9. 2019 o 17:07 Jundong Qiao <jq...@acvauctions.com> napísal(a):
Hi all,

I am generating training files for tesseract, after installing all necessary packages.

My code:

tesstrain.sh --fonts_dir fonts \

             --fontlist "OCR-A Medium"\

    --lang eng \

    --linedata_only \

    --langdata_dir langdata_lstm \

    --tessdata_dir tesseract/tessdata \

    --save_box_tiff \

    --maxpages 2 \

    --output_dir train


Error:

=== Starting training for language 'eng'

[Fri Sep 6 14:22:58 UTC 2019] /usr/local/bin/text2image --fonts_dir=fonts --font=OCR-A Medium --outputbase=/tmp/font_tmp.NNegviOaTd/sample_text.txt --text=/tmp/font_tmp.NNegviOaTd/sample_text.txt --fontconfig_tmpdir=/tmp/font_tmp.NNegviOaTd

/usr/local/bin/text2image: error while loading shared libraries: libtesseract.so.5: cannot open shared object file: No such file or directory

ERROR: Program text2image failed. Abort.


What is the possible reason that cause the error?

Best,
Jundong

--
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-oc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/54cf793c-496d-4ce6-8d6c-8adf7752b7bd%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages