I might not understood you fully, but this is an obvious excerpt from
"baseapi.h":

"Each SetRectangle clears the recogntion results so multiple
rectangles
can be recognized with the same image"

Indeed, SetRectangle() calls ClearResults() which "deletes the pageres
and
clears the block list ready for a new page"

As of 3.01 reconize_a_word() is obsolete and was refactored out

Regards,
Dmitry

On Feb 18, 9:11 pm, Jacob George <[email protected]> wrote:
> Hi,
>
> I am using Tesseract 3.0 for my project which requires real time text
> recognition from a video stream of a web camera.
> I need only to recognize a single word or character after finding lines. In
> my code the function findlines() is called first (after setting the image
> using SetImage) and using this the TBOX of the word to be recognized is
> found out. Using the coordinates from the bounding box the setrectangle
> function is called and the text is recognized.
> but I face few problems:
> . If small words(such as are, is, be etc) are taken they are either
> recognized wrongly or not at all recognized. But if I give the bounding box
> of the same line these words are recognized accurately. why is it so?
> .does setrectangle clears all the result of the findlines()?
> . I came across a function reconize_a_word to recognize a single word. Does
> reconize_ a_word recognize all the page and returns only the text of the
> target box or does it recognize only the word given in the target box?
>
> thanks in advance,
>
> jacob

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