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

Reply via email to