Hi,

I have successfully trained Tesseract to read numeric OCR-A font.  So
far so good.

I am also using the c/c++ code testApi contained in 'api' and this
works fine as long as I have preprocessed the image file (ie cropped
the area I'm interested in).

The documents I am using, have a small area of some 20 chars or so,
which contain the OCR-A text.   In my code I need to be able to
specify only that area in which Tesseract will do the recognition.

Does anyone have a fragment/snippet of c/c++ code which has the
call(s) to (I guess) rectangle which will tell Tesseract the area to
look at?   What are the parameters in, pixels?  Where is the origin
(0,0), top left, bottom left?

Thanks for all help
Phil

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