You did not write which version of tesseract you used.
Based on your previous posts: What about little testing and thinking by
yourself before posting on the forum? e.g. setting the variable to
C:\tesseract-ocr\ or  C:\tesseract-ocr\tessdata\ ?

Zdenko


so 24. 9. 2022 o 20:40 Fish Money <fishmoneyp...@gmail.com> napĂ­sal(a):

> My TESSDATA_PREFIX is set to C:\tesseract-ocr\tessdata, but keep getting
> the error in text below.
> However, It still works after I created tessdatatessdata folder.
> Also I need to explicitly mention  the path to batch.nochop & makebox and
> for other config files as well
>
>  C:\tesseract-ocr\tessdata\tessconfigs\batch.nochop
> C:\tesseract-ocr\tessdata\configs\makebox
>
> How can I fix it?
>
> Error opening data file C:\tesseract-ocr\tessdatatessdata/eng.traineddata
> Please make sure the TESSDATA_PREFIX environment variable is set to the
> parent directory of your "tessdata" directory.
> Failed loading language 'eng'
> Tesseract couldn't load any languages!
> Could not initialize tesseract.
>
> --
> 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/0ee1e558-c867-47d0-a68d-3465e2051dd4n%40googlegroups.com
> <https://groups.google.com/d/msgid/tesseract-ocr/0ee1e558-c867-47d0-a68d-3465e2051dd4n%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/CAJbzG8zhMMjZ5fNKYR5Lgp047zM7OW9gFgaczwPYv_PcRN9V3w%40mail.gmail.com.

Reply via email to