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 tesseract-ocr+unsubscribe@googlegroups.com.
To post to this group, send email to tesser...@googlegroups.com.
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.
For more options, visit https://groups.google.com/d/optout.