i hope i understand your question. so you try this code

    tesseract::ResultIterator* it = _tesseract->GetIterator();

    

    do {

            int top, bottom, left, right;

            it->BoundingBox(tesseract::RIL_WORD, &left, &top, &right, 
&bottom);

            char* utf8Text = it->GetUTF8Text(tesseract::RIL_WORD);

            //NSString* aBoxText = [NSString stringWithUTF8String:utf8Text];

        

            //NSLog(@"%@ %d ,%d, %d, %d",aBoxText, top, bottom, left, 
right);

       

    } while (it->Next(tesseract::RIL_WORD));
as you can see, the pageIteratorLevel is like tesseract::RIL_WORD.

you look for more 
in 
http://fossies.org/dox/tesseract-ocr-3.02.02/resultiterator_8cpp_source.html#l00551

regards.

On Tuesday, 27 September 2011 14:50:51 UTC+3, merve wrote:
>
> Hello,
>
> Is there somebody have ever used ResultIterator?
>
> I do not know if i understand right but i need all possibilities for one 
> word in the text.
>
> There is a pageIteratorLevel property, i think i must pass all paragraph, 
> line, word and symbol number to result iterator to get text and confidence. 
> But some time tesseract thinks one letter instead of two letters in fact.
>
> Thanks for idea.
>
>

-- 
-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to