// Returns confidence (between 0 and 100) int Avg_Confidence = pTessBase->MeanTextConf(); // Returns all word confidences (between 0 and 100) in an array, terminated by -1 int* pAvg_Word_Confidence = pTessBase->AllWordConfidences();
where pTessBase is an instance of the API, you should be able to find the two methods in the API headers. Call the methods after you have done the recognition, e.g. after getUTF8... -----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[email protected]] Im Auftrag von emre Gesendet: Mittwoch, 27. Juli 2011 10:23 An: tesseract-ocr Betreff: Re: How to get word confidence level ? i have searched several times in google , can you explain how can i do that ? On 27 Temmuz, 11:10, "Lutz, Michael" <[email protected]> wrote: > No, you cannot when using the command line, if you use the API then you can. > > -----Ursprüngliche Nachricht----- > Von: [email protected] [mailto:[email protected]] > Im Auftrag von emre > Gesendet: Mittwoch, 27. Juli 2011 10:01 > An: tesseract-ocr > Betreff: Re: How to get word confidence level ? > > any answer ? > > On 25 Temmuz, 17:15, emre <[email protected]> wrote: > > > I have a test application that uses tesseract and gives the txt file > > from image. I want to know that if i can get the word scores with the > > text file or not ? > > > Could i pass a parameter in command line to get the ratings or word > > scores ? > > > 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 > athttp://groups.google.com/group/tesseract-ocr?hl=en > > This message is confidential and intended only for the addressee. If you have > received this message in error, please immediately notify the > [email protected] and delete it from your system as well as any copies. The > content of e-mails as well as traffic data may be monitored by NDS for > employment and security purposes. > To protect the environment please do not print this e-mail unless necessary. > > An NDS Group Limited company.www.nds.com -- 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 This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the [email protected] and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by NDS for employment and security purposes. To protect the environment please do not print this e-mail unless necessary. An NDS Group Limited company. www.nds.com -- 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

