Welcome Guest! To enable all features, please Login or Register.



Last Go to last post Unread Go to first unread post
#1 Posted : Wednesday, February 15, 2006 10:26:05 AM(UTC)


Groups: Registered, Tech Support
Posts: 207

Was thanked: 3 time(s) in 3 post(s)

The attached project illustrates how to obtain the confidence values for each character and word recognized by our OCR.  You must first OCR the image, then obtain a list of each character recognized using L_DocGetRecognizedCharacters.  This function creates an array of the structure RECOGCHARS.  This structure contains a field nConfidence, which, when bitwise operations are performed to the field you obtain the confidence for each character and word.  Below are the bitwise operations:

Word Confidence:   nConfidence >> 7   // if equals 0 certain of word otherwise uncertain

Character Confidence:   nConfidence & 127  // if < 64 OCR is confident of character.

Travis Montgomery
Senior Sales Engineer

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2023, Yet Another Forum.NET
This page was generated in 0.044 seconds.