"read_params_file: parameter not found: " for hindi

558 views
Skip to first unread message

Kiran Sonar

unread,
Jun 25, 2018, 3:31:50 AM6/25/18
to tesseract-ocr
Hi,
I am trying to get Hindi text from attached image. But when i set language to "hin" i get "read_params_file: parameter not found: "
I am using Tess4J 3.8.4.
Anyone knows what is the issue here.
Hindi.png

Shree Devi Kumar

unread,
Jun 25, 2018, 4:57:26 AM6/25/18
to tesser...@googlegroups.com
looks like you are using wrong version of traineddata file ie. 3.0x hin.traineddata with code for tesseract4.0.0.

--
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/3942a063-d517-4767-b439-587a737dbc62%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--

____________________________________________________________
भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com

Kiran Sonar

unread,
Jun 25, 2018, 4:59:04 AM6/25/18
to tesser...@googlegroups.com
I am using tessdata- best from Tesseract GitHub repository.

You received this message because you are subscribed to a topic in the Google Groups "tesseract-ocr" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tesseract-ocr/4dGsko4UTcI/unsubscribe.
To unsubscribe from this group and all its topics, 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.

Kiran Sonar

unread,
Jun 25, 2018, 5:04:37 AM6/25/18
to tesseract-ocr
Using this trainedata has significantly improved my accuracy for English. I expected same for hindi. I tried adding Configs files, Langdata for hindi but that doesnt work. 

Shree Devi Kumar

unread,
Jun 25, 2018, 5:21:07 AM6/25/18
to tesser...@googlegroups.com
i am not familiar with   Tess4J 3.8.4.

Have you tried it directly from command line?

It is also possible that you are not  using correct syntax for the command and the language name is being used as output file name,

try the following

tesseract input.png output -l hin


On Mon, Jun 25, 2018 at 2:34 PM Kiran Sonar <kirans...@gmail.com> wrote:
Using this trainedata has significantly improved my accuracy for English. I expected same for hindi. I tried adding Configs files, Langdata for hindi but that doesnt work. 

--
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.

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages