Run the following command in order to get the eng.traineddata file within
the tessdata directory: *wget
https://github.com/tesseract-ocr/tessdata/blob/master/eng.traineddata
<https://github.com/tesseract-ocr/tessdata/blob/master/eng.traineddata>*

On Sat, 16 Jan 2021 at 17:59, Roparzh Hemon <roparzhhe...@gmail.com> wrote:

>
> Hello,
>
>  I am a complete beginner to Tesseract. I just installed it on my Ubuntu
> machine.
> Here is a snippet from my Terminal :
>
> $ echo TESSDATA_PREFIX
> /home/mbalambala/tesseract/tessdata
> $ tesseract Downloads/p1.pdf p1
> Error opening data file /home/mbalambala/tesseract/tessdata/eng.traineddata
> Please make sure the TESSDATA_PREFIX environment variable is set to your
> "tessdata" directory.
> Failed loading language 'eng'
> Tesseract couldn't load any languages!
> Could not initialize tesseract.
> $ ls /home/mbalambala/tesseract/tessdata
> configs                    eng.user-words Makefile.am pdf.tiff
> eng.user-patterns Makefile              Makefile.in   tessconfigs
>
>
>
> So it seems I need to produce a eng.traineddate file in my tessdata
> directory, how do I do this ?
>
>
>
> --
> 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/fa3fd4fb-fb96-4420-8bc0-69e1e4e3798fn%40googlegroups.com
> <https://groups.google.com/d/msgid/tesseract-ocr/fa3fd4fb-fb96-4420-8bc0-69e1e4e3798fn%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 tesseract-ocr+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/CAJ4nxguJc%2BZUj4%3D7VLCsioJwFnvXxTtJJM5Fixn2wmW-_5Mb0w%40mail.gmail.com.

Reply via email to