Tesseract Open Source OCR Engine v3.04.01 with Leptonica read_params_file: Can't open 7 read_params_file: Can't open c read_params_file: Can't open tessedit_char_whitelist=0123456789.% Failed loading language 'eng' Tesseract couldn't load any languag

41 views
Skip to first unread message

maneesh...@embibe.com

unread,
May 3, 2019, 3:16:39 AM5/3/19
to tesseract-ocr
All the issues i see around this subject are old but i still had many issues setting up tesseract on an aws ec2 instance.
$TESSDATA_PREFIX is set to /usr/local/share and the eng.traineddata is present in the tessdata ( /usr/local/share/tessdata) folder along with the config files.
Can someone please help me find out where exatly am I going wrong?
Thanks

Zdenko Podobny

unread,
May 3, 2019, 10:07:35 AM5/3/19
to tesser...@googlegroups.com
First of all: 3.04 is old. If you want to use 3.x tesseract use 3.05.02 There were a lot of bugfixes (not related to to you problem)

Next: if you see "read_params_file" in error message, it means (for 98% ;-)) your command for running tesseract is wrong. And you post everything else but not how you run tesseract. 

So that's all how we can help you at this stage.

Zdenko


pi 3. 5. 2019 o 9:16 <maneesh...@embibe.com> napísal(a):
--
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-oc...@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/f4ed83e6-cdfb-45d1-b6c1-0aa177e19fb6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Maneesha Dendukuri

unread,
May 4, 2019, 5:36:10 AM5/4/19
to tesser...@googlegroups.com
Thanks for that, i did have a small mistake in the command. I'm using it via pytesseract.image_to_string(img.convert('L'),lang='eng'). Besides that you mentioned:
In 3.05.02, "There were a lot of bugfixes (not related to to you problem)". So do you suggest upgrading to 4? if yes, could you please share link to uninstall 3 and install 4 properly? (cuz i see alot of messups along that line, this for eg.)
Thanks

Zdenko Podobny

unread,
May 4, 2019, 6:19:56 AM5/4/19
to tesser...@googlegroups.com
You should uninstall it the same way as you installed it ;-) I do not know what system you use etc.
If you are not familiar with you system you should avoid installing anything outside what your system provide.

Zdenko


so 4. 5. 2019 o 11:36 Maneesha Dendukuri <maneesh...@embibe.com> napísal(a):

Maneesha Dendukuri

unread,
May 4, 2019, 6:27:00 AM5/4/19
to tesser...@googlegroups.com
I installed it via apt-get and am using doing this on an aws EC2 instance.

Reply all
Reply to author
Forward
0 new messages