can anyone help in getting the probability score for all the similar 
characters of a word .I tried and only getting the probability score for 
only the highest probability character

On Friday, September 28, 2007 at 3:21:34 PM UTC+5:30, Basu wrote:
>
> Hi,
>
> I am trying hard on generating some probability scores for each
> character in a word.
> As I am working with handwritten words, it may be useful information.
>
> e.g.,If I give input as "hello" as a handwritten bmp/tif word image
> Now I am getting output say, "nollo". (fixed..no alternative
> suggestions)
> I want to generate an output inthe following probabilistic form (shown
> vertically for each character in word):
> a(0.01)..b(0.02)....n(0.6) ..    ..z(0.01)  --> recognized as 'n'
> a(0.01)..b(0.02)....o(0.7)   ..  ..z(0.01)  --> recognized as 'o'
> a(0.01)..b(0.02)....l(0.6)    ... ..z(0.01)  --> recognized as 'l'
> a(0.01)..b(0.02)....l(0.6)  ...   ..z(0.01)  --> recognized as 'l'
> a(0.01)..b(0.02)....o(0.8)..     ..z(0.01)  --> recognized as 'o'
>
> While working with this problem and studying the code I have found the
> following information:
> The sequence execution of significant functions through different
> programs are as follows (in standard scenario)
>
> TessBaseAPI::TesseractRectUNLV (baseapi.cpp)
> TessBaseAPI::Recognize (baseapi.cpp)
> recog_all_words (control.cpp)
> classify_word_pass1 (control.cpp)
> tess_segment_pass1 (tessbox.cpp)
> recog_word (tfacepp.cpp)
> recog_word_recursive (tfacepp.cpp)
> cc_recog (tfacepp.cpp)
> chop_word_main (chopper.cpp)
> etc...
> etc...
>
> Now, this chop_word_main returns CHOICES_LIST..that is a possible list
> of words accoding to best scores..
> Can anybody help me here, how to get this list..
> or the choice values for each character blob ..they are in float..
> Generating a separate output file from here may also help me.
>
> I am somehow confused in here..
> For each change in a program, shall I have to rebuild the whole
> application (takes lot of time).
> I am working in VC++.
>
> basu.
>
>

-- 
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/021e7bc8-752b-4785-a7be-055b5c9a4c65%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to