Hi,
First of all to check the accuracy you should have both - recognized text 
and the original text if you dont have the original text you have to type 
it then follow these psuedo code:

all_orig_text.split(" ");
all_recog_text.split(" ");
countofcorrect = 0;
for (int = 0; i < all_orig_text.length ; i++)
          if (all_orig_text[i] == all_recog_text[i]) //this will help to 
check accuracy word wise
                countofcorrect++;
ratio = countofcorrect /  all_orig_text.length *100

you have to improve this code to suit your needs

-- 
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/a7f46fec-4555-4fbc-95d2-b035e830f3bc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to