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-ocr+unsubscr...@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.