Hello,

I have a very simple OCR app based on Tesseract. After the recognition
step, I also provide a user verification step that allows correction
in case OCR is wrong. To improve the user interface, I plan to draw a
rectangle on top of the OCR-ed character on the original input image,
and put it side by side with the OCR output. To get to that, I need
the coordinate of the recognized characters.

I tried something like this but it seems to give me gibberish:

        ETEXT_DESC output;
        tess->Recognize(&output);
        text = tess->GetUTF8Text();

Now if I access output->count, it gives me some value above 10,000,
which is obviously wrong because the whole image only has 20 or so.

Am I on the right track? Can I have some direction please?

-- 
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

Reply via email to