It seems to me, I see the problem.
python setup.py build runs command:
swig -python -c++ -I/usr/include/tesseract -I/usr/include
-I/usr/include/leptonica -o tesseract_wrap.cpp tesseract.i

while tesseract and leptonica headers on my system are not in /usr/include,
but in /usr/local/include.

I assume that is a bug in python-tesseract.

2012/3/8 Ivan Mushketik <[email protected]>

> Sorry that I did not mentioned necessary details.
> I am using Ubuntu 11.10, tesseract 3.01 and leptonica 1.68.
> Tesseract-ocr is working properly. I tested it with tesseract tool on
> several images, so I assume that leptonica works correctly for this images.
> I installed tesseract-ocr and leptonica from sources that I downloaded
> from official web sites (not from repositories).
>
>

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