Choice Iterator only shows one choice for each character

518 views
Skip to first unread message

Jochen Naumann

unread,
Jul 1, 2019, 5:15:09 AM7/1/19
to tesseract-ocr
Hi, I am using the official api example for iterating over the choices for characters and getting their confidence levels.

However if I run the program, the iterator only delivers one choice and its confidence level. What I need is to get the second best, third best choice and so on. Can somebody explain this behaviour of the choice iterator or has another solution?

symbol 0, conf: 97.898155       - 0 conf: 97.898155
---------------------------------------------
symbol 7, conf: 97.928169       - 7 conf: 97.928169
---------------------------------------------
symbol 2, conf: 99.513145       - 2 conf: 99.513145
---------------------------------------------
symbol 0, conf: 99.550995       - 0 conf: 99.550995
---------------------------------------------
symbol 2, conf: 99.348244       - 2 conf: 99.348244
---------------------------------------------
symbol 0, conf: 99.567184       - 0 conf: 99.567184
---------------------------------------------
symbol 6, conf: 92.867050       - 6 conf: 92.867050
---------------------------------------------
symbol 7, conf: 98.315720       - 7 conf: 98.315720
---------------------------------------------
symbol -, conf: 98.711716       - - conf: 98.711716
---------------------------------------------
symbol 0, conf: 98.780563       - 0 conf: 98.780563
---------------------------------------------
symbol 1, conf: 95.821373       - 1 conf: 95.821373
---------------------------------------------
symbol R, conf: 92.588943       - R conf: 92.588943
---------------------------------------------

Shree Devi Kumar

unread,
Jul 1, 2019, 5:55:02 AM7/1/19
to tesser...@googlegroups.com

--
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/af7b37fd-4380-48cf-be85-ac069937ff86%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--

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

Jochen Naumann

unread,
Jul 1, 2019, 6:21:15 AM7/1/19
to tesseract-ocr
Thanks, this seems to be what I need. But how do I set this lstm_choice_mode with the api?


Am Montag, 1. Juli 2019 11:55:02 UTC+2 schrieb shree:
To unsubscribe from this group and stop receiving emails from it, send an email to tesser...@googlegroups.com.

shree

unread,
Jul 4, 2019, 5:39:37 AM7/4/19
to tesseract-ocr

Zdenko Podobny

unread,
Jul 5, 2019, 6:12:13 AM7/5/19
to tesser...@googlegroups.com

št 4. 7. 2019 o 11:39 shree <shree...@gmail.com> napísal(a):
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.

Shree Devi Kumar

unread,
Jul 5, 2019, 6:56:04 AM7/5/19
to tesser...@googlegroups.com

Sathyanarayana Gorla

unread,
May 6, 2020, 5:56:04 AM5/6/20
to tesseract-ocr
1. I would like to know how HOCR algorithm works and give confidence scores for each character
2. Can I change any thing in HOCR, to improve performance
Reply all
Reply to author
Forward
0 new messages