need more details about tesseract recognize result

56 views
Skip to first unread message

叶新舟

unread,
Jan 9, 2020, 1:13:55 AM1/9/20
to tesseract-ocr
Hi:
   I found that tesseract by default return a recognize result (a single char for example) with the maxinum confidence,
   yet in my case, I want a list (order by confidence desc) of likely results (top 5 for example)。So,the question is what should I do to get suan a list.

   Please help. Many Thanks!

Shree Devi Kumar

unread,
Jan 9, 2020, 7:10:52 AM1/9/20
to tesseract-ocr
try hocr output as follows

tesseract choices.png choices -c lstm_choice_mode=2 hocr



--
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 view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/b614ee7d-a2c0-4cb7-b1e7-fb581ea204c0%40googlegroups.com.


--

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

叶新舟

unread,
Jan 12, 2020, 8:31:56 PM1/12/20
to tesseract-ocr
thank you , it's helpful for me.

在 2020年1月9日星期四 UTC+8下午8:10:52,shree写道:
try hocr output as follows

tesseract choices.png choices -c lstm_choice_mode=2 hocr



On Thu, Jan 9, 2020 at 11:43 AM 叶新舟 <runni...@gmail.com> wrote:
Hi:
   I found that tesseract by default return a recognize result (a single char for example) with the maxinum confidence,
   yet in my case, I want a list (order by confidence desc) of likely results (top 5 for example)。So,the question is what should I do to get suan a list.

   Please help. Many Thanks!

--
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 tesser...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages