One question Priya:
In this code you are using a ResultIterator. And you are using two 
functions: "GetUTF8Text (...)" and "Confidence (...)", correct?
I've searched these functions in "resultiterator.cpp"and I've found the 
first one but not the second one, "Confidence()".
I'm wrong? Where is this function?
Thanks in advance for your time.


El viernes, 5 de abril de 2013 07:47:45 UTC+2, priya escribió:
>
> hi
>    the code which i hav used to find word level confidence is given below, 
> but i need character level confidence. please let me know if u hav any 
> clues or pointers regarding tat...
>
>   api.SetVariable("save_blob_choices","T");
>   api.SetPageSegMode(tesseract::PSM_AUTO);
>   api.SetImage(pixs);
>   rc=api.Init(argv[0],lang);
>   api.Recognize(NULL);
>   tesseract::ResultIterator* it = api.GetIterator();
>
>   if(it!=0)
>   {
>   do
>   {
>   const char* symbol = it->GetUTF8Text(tesseract::RIL_SYMBOL);
>   if(symbol!=0)
>   {
>  
>   float confi=it->Confidence(tesseract::RIL_SYMBOL);
>   const tesseract::ResultIterator itr=*it;
>    }
>   delete[] symbol;
>   } while((it->Next(tesseract::RIL_SYMBOL)));
>   }
>

-- 
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/6216fecd-441e-40e7-8308-144cad71f5ff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to