Check where the osd.traineddata and eng.trsineddata are installed. Download
other trained data to same directory.

On Linux, it is usually /use/share/tessdata

On 29-Aug-2017 1:58 PM, "vikram charan" <[email protected]> wrote:

> Hello,
> I'm working on project which base on scan many kind of documents (like: -
> Image that contain text, file, inquiry forms, documents etc.) . I'm using
> Tesseract library to scan these documents. As mention on Github i followed
> all step to setup Tesseract. I drag and drop tessdata folder in project. I
> also download language traineddata from Github and put in my project
> because my project support 55 languages and it is offline.
>
> Now I run project and scan some document. Instead of English, french,
> other languages not scan my documents. some time arabic language also work
> but each time. and my app crash i got this error
>
> "Please make sure the TESSDATA_PREFIX environment variable is set to the
> parent directory of your "tessdata" directory.
> Failed loading language 'ara'
> Tesseract couldn't load any languages!"
>
> while i'm add all 55 languages trained data into my project and create
> .ipa it's size is 205MB that is not good for my project. To over come this
> problem i upload all trained data to server. and download language
> according to user choice. Trained Data files download successfully into
> document directory. but when i run project then it give me error:-
>
> Error opening data file file:///var/mobile/Containers/
> Data/Application/7EC1EE90-08A4-41BD-A787-4FD58E7E6575/
> Documents/tessdata/ara.traineddata
> Please make sure the TESSDATA_PREFIX environment variable is set to the
> parent directory of your "tessdata" directory.
> Failed loading language 'ara'
> Tesseract couldn't load any languages!
>
> Please help me asap so i can finished this project.
>
>
> Thank you
>
> --
> 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 post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/tesseract-ocr.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/tesseract-ocr/4009683a-d855-47e7-b090-0ed06ed7e8a6%
> 40googlegroups.com
> <https://groups.google.com/d/msgid/tesseract-ocr/4009683a-d855-47e7-b090-0ed06ed7e8a6%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/CAG2NduWCYnd9Bpam4NymXpnH-Mq6QvpL%2BUYWzFymuKqzZdHR5w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to