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:
>
> Take a look at 
> https://github.com/tesseract-ocr/tesseract/blob/ab09b09da66f458002f01d0bc4ffeee8eff58f6e/src/ccmain/tesseractclass.cpp#L524
>
> On Mon, Jul 1, 2019 at 2:45 PM Jochen Naumann <[email protected] 
> <javascript:>> wrote:
>
>> Hi, I am using the official api example for iterating over the choices 
>> for characters and getting their confidence levels.
>>
>> https://github.com/tesseract-ocr/tesseract/wiki/APIExample#example-of-iterator-over-the-classifier-choices-for-a-single-symbol
>>
>> 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
>> ---------------------------------------------
>>
>> -- 
>> 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 [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> 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
>>  
>> <https://groups.google.com/d/msgid/tesseract-ocr/af7b37fd-4380-48cf-be85-ac069937ff86%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> -- 
>
> ____________________________________________________________
> भजन - कीर्तन - आरती @ http://bhajans.ramparivar.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 [email protected].
To post to this group, send email to [email protected].
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/3256f63a-ee4c-4834-ba2e-3e2265ecb381%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to