Thank you sir. I will check that.
Regards Guna On Friday, April 10, 2015 at 3:22:04 PM UTC+5:30, Dmitri Silaev wrote: > > That formula is not mine. It's synthesized based on the code from > TessBaseAPI::AllWordConfidences() or LTRResultIterator::Confidence(): > > confidence = min(100, max(0, 100 + 5*certainty)) > > By further simple study of comments in the code you can find that: > - "confidence": ...should be interpreted as a percent probability > (0.0f-100.0f) > - "certainty" in the formula: ...is the min (worst) certainty of the > individual blobs in the word. > - "certainty" of the blob: ...is a number in [-20, 0] indicating the > classifier certainty of the choice. In terms of probability, certainty = 20 > (k log p) where k is defined as above to normalize -klog p to the range [0, > 1]. > > That said, it seems that finally, "confidence" is the "p" of the worst > blob, in percents. So it can be in [0, 100], and "certainty" is clearly > defined to be in [-20, 0]. > > Why you're getting a positive certainty value for your word - that's a > question for developers. You may supply your test case to > https://code.google.com/p/tesseract-ocr/issues/list and find out the > answer. > > Best regards, > Dmitri Silaev > www.CustomOCR.com > > > > > > On Wed, Apr 8, 2015 at 1:21 PM, Gunasekaran Velu <[email protected] > <javascript:>> wrote: > >> Really sorry for the mistake. >> >> I am getting certainty value from tesseract for Text "Name" 215(Positive >> value). >> >> Does your formula applicable for this certainty value? >> >> Kindly do the needful. >> >> Regards >> Guna >> >> On Wednesday, April 8, 2015 at 2:07:13 PM UTC+5:30, Dmitri Silaev wrote: >>> >>> It seems you're confusing "certainty" and "confidence" here. Please pay >>> close attention to what you're writing or rephrase your question. The >>> formula itself allows no values out of the [0, 100] range. >>> >>> Best regards, >>> Dmitri Silaev >>> www.CustomOCR.com >>> >>> >>> >>> >>> >>> On Wed, Apr 8, 2015 at 8:37 AM, Gunasekaran Velu <[email protected]> >>> wrote: >>> >>>> Hi Dmitri >>>> >>>> Does your formula only for negative confidence score or for all? >>>> >>>> Because i am getting confidence score for "Name" - 215 Is it correct or >>>> not? or Does i do any calculation for that? >>>> >>>> Looking forward your reply. >>>> >>>> >>>> Regards >>>> Guna >>>> >>>> On Saturday, August 6, 2011 at 12:19:47 PM UTC+5:30, Dmitri Silaev >>>> wrote: >>>>> >>>>> Use this formula: >>>>> >>>>> confidence = min(100, max(0, 100 + 5*certainty)) >>>>> >>>>> where "confidence" is the value you need, "certainty" - the value >>>>> returned by Tess >>>>> >>>>> Warm regards, >>>>> Dmitri Silaev >>>>> www.CustomOCR.com >>>>> >>>>> On Fri, Aug 5, 2011 at 11:29 AM, emre <[email protected]> wrote: >>>>> > Hi. I am getting the word confidences in the html ouput of tesseract >>>>> > ocr engine. But confidences give me negative numbers how can i get >>>>> > success rate for a word from negative confidence values ? >>>>> > >>>>> > >>>>> > Thanks >>>>> > >>>>> > -- >>>>> > You received this message because you are subscribed to the Google >>>>> > Groups "tesseract-ocr" group. >>>>> > To post to this group, send email to [email protected] >>>>> > To unsubscribe from this group, send email to >>>>> > [email protected] >>>>> > For more options, visit this group at >>>>> > http://groups.google.com/group/tesseract-ocr?hl=en >>>>> > >>>>> >>>>> -- >>>> 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 http://groups.google.com/group/tesseract-ocr. >>>> To view this discussion on the web visit https://groups.google.com/d/ >>>> msgid/tesseract-ocr/a1b9d579-f6e3-438c-b946-d3d06b1be607% >>>> 40googlegroups.com >>>> <https://groups.google.com/d/msgid/tesseract-ocr/a1b9d579-f6e3-438c-b946-d3d06b1be607%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- >> 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 http://groups.google.com/group/tesseract-ocr. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/tesseract-ocr/544f29bd-3b6e-4782-b522-68c731878b33%40googlegroups.com >> >> <https://groups.google.com/d/msgid/tesseract-ocr/544f29bd-3b6e-4782-b522-68c731878b33%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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 http://groups.google.com/group/tesseract-ocr. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/be3ffca3-d1b9-4750-b9e6-82fec805fe3f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

