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 <[email protected]> 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tesseract-ocr/54cf793c-496d-4ce6-8d6c-8adf7752b7bd%40googlegroups.com > <https://groups.google.com/d/msgid/tesseract-ocr/54cf793c-496d-4ce6-8d6c-8adf7752b7bd%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/CAJbzG8xJ7b-he1Tdbr0jSAc8Ww4v9ukkEnZGwNfs4e52Qx7-Kg%40mail.gmail.com.

