On Fri, Nov 2, 2012 at 10:53 AM, sharisha shanbhag <[email protected]>wrote:

> hey Nick,
>
> U r right.I too understand by what is an apche license.
> But the truth is that if i include "tesseractmain.h" in my opencv code it
> gives me an fatal error.what could be the reason?
>

There are several examples how to use tesseract API in forums and issues
e.g.
https://code.google.com/p/tesseract-ocr/issues/attachmentText?id=661&aid=6610004000&name=test_rus_cube.cpp&token=HtpGUegYQl061Dj6fGk-i75GWVo%3A1351861131874

For simple usage you need to include baseapi.h from tesseract and
allheaders.h from leptonica.

BTW: python-tesseract[1] (python wrapper for tesseract) included patch[2]
that enable to use OpenCV image in tesseract. You should be able to adapt
it for your need.

[1] http://code.google.com/p/python-tesseract/
[2] http://code.google.com/p/python-tesseract/issues/detail?id=8
-- 
Zdenko

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