Closed GoogleCodeExporter closed 9 years ago
I am having exactly the same problem .
Original comment by oaung...@gmail.com
on 15 Dec 2011 at 6:51
Btw if you insatll libleptonica from this repo, it work. :)
Original comment by oaung...@gmail.com
on 15 Dec 2011 at 6:52
I'm having the same issue. When you say "Btw if you insatll libleptonica from
this repo, it work" which repo are you referring to? I don't see any
libleptonica in "http://code.google.com/p/python-tesseract/downloads/list"
which is the downloads for *this* project. Additionally I don't see any special
libleptonica in the SVN repo of this project, so I'm at a loss for where you
found the working install.
Thanks
Original comment by davidpet...@gmail.com
on 1 Jan 2012 at 1:39
when I make python setup.py install I get the following error
swig -python -c++ -I/usr/include/tesseract -I/usr/include
-I/usr/include/leptonica -o tesseract_wrap.cpp tesseract.i
tesseract.i:11: Error: Unable to find 'publictypes.h'
tesseract.i:12: Error: Unable to find 'thresholder.h'
tesseract.i:13: Error: Unable to find 'baseapi.h'
error: command 'swig' failed with exit status 1
Original comment by lazzarol...@gmail.com
on 2 Jan 2012 at 6:50
You install leptonica from within Ubuntu. Go to terminal and type, "sudo
apt-get install libleptonica-dev"
Original comment by wykidt...@gmail.com
on 3 Feb 2012 at 1:22
I was able to get this to work today and I made sure to install the following
dependencies:
sudo apt-get install autoconf automake libtool
sudo apt-get install libpng12-dev
sudo apt-get install libjpeg62-dev
sudo apt-get install libtiff4-dev
sudo apt-get install zlib1g-dev
After downloading and extracting the tar ball I used the following commands:
./autogen.sh
./configure
make
sudo make install
sudo ldconfig
Make sure to do the first command or make will not work. From there, I
installed the language data and I am currently using the program. It was a bit
of work, but worth it IMO.
Original comment by wykidt...@gmail.com
on 3 Feb 2012 at 2:08
Tesseract-ocr is now included in the download list
http://code.google.com/p/python-tesseract/downloads/list
Original comment by FreeT...@gmail.com
on 3 Feb 2012 at 4:19
Original issue reported on code.google.com by
patryk.z...@gmail.com
on 4 Dec 2011 at 2:31