Giter Club home page Giter Club logo

Comments (7)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 20, 2024
I am having exactly the same problem . 

Original comment by [email protected] on 15 Dec 2011 at 6:51

from python-tesseract.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 20, 2024
Btw if you insatll libleptonica from this repo, it work. :) 

Original comment by [email protected] on 15 Dec 2011 at 6:52

from python-tesseract.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 20, 2024
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 [email protected] on 1 Jan 2012 at 1:39

from python-tesseract.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 20, 2024
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 [email protected] on 2 Jan 2012 at 6:50

from python-tesseract.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 20, 2024
You install leptonica from within Ubuntu. Go to terminal and type, "sudo 
apt-get install libleptonica-dev"

Original comment by [email protected] on 3 Feb 2012 at 1:22

from python-tesseract.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 20, 2024
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 [email protected] on 3 Feb 2012 at 2:08

from python-tesseract.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 20, 2024
Tesseract-ocr is now included in the download list
http://code.google.com/p/python-tesseract/downloads/list

Original comment by [email protected] on 3 Feb 2012 at 4:19

  • Changed state: Fixed

from python-tesseract.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.