Comments (8)
This brings more problems than just installing.
APT says I have both python-tesseract and tesseract-ocr packages broken because
the leptonica dependency, and even the system update wants to remove these
packages because of it.
Running linux mint 12
Original comment by [email protected]
on 9 Mar 2012 at 11:23
from python-tesseract.
You're right actually, this is not a good solution. But it shows that the
packages *could* easily depend on the stock libleptonica package and work.
What I ended up doing was patching the debs provided here to depend on
libleptonica rather than leptonica.
To do that, run the following commands for each .deb file (replacing
packagename below with the package name):
#extract package contents
dpkg-deb -x pkgname.deb pkgname;
#extract CONTROL file from deb
dpkg-deb --control pkgname.deb pkgname/DEBIAN;
#replace leptonica dependency with libleptonica
sed -i "s/leptonica/libleptonica (>= 1\.68)/g" pkgname/DEBIAN/control;
#rebuild package with correct dependencies
dpkg -b pkgname pkgname.deb;
that will give you nice deb packages depending on libleptonica rather than
leptonica
Original comment by [email protected]
on 9 Mar 2012 at 11:43
from python-tesseract.
Works like a charm. Thanks a lot!
Original comment by [email protected]
on 9 Mar 2012 at 3:44
from python-tesseract.
Interesting workaround...
Anyhow, I have fixed the problem.
Thanks anyway
Original comment by [email protected]
on 12 Apr 2012 at 3:42
from python-tesseract.
Interesting workaround...
Anyhow, I have fixed the problem.
Thanks anyway
Original comment by [email protected]
on 12 Apr 2012 at 3:42
from python-tesseract.
Interesting workaround...
Anyhow, I have fixed the problem.
Thanks anyway
Original comment by [email protected]
on 12 Apr 2012 at 3:42
from python-tesseract.
Interesting workaround...
Anyhow, I have fixed the problem.
Thanks anyway
Original comment by [email protected]
on 12 Apr 2012 at 3:42
from python-tesseract.
Tesseract-ocr is now included in the download list
http://code.google.com/p/python-tesseract/downloads/list
Original comment by [email protected]
on 12 Apr 2012 at 3:42
- Changed state: Fixed
from python-tesseract.
Related Issues (20)
- fails on python build HOT 5
- Import Error (DLL load failed: The specified module could not be found) HOT 18
- ..._tesseract.so: undefined symbol: _ZN9tesseract16TessTextRendererC1Ev HOT 4
- APP CRASH HOT 2
- Leptonica 1.71 breaks python-tesseract 0.9-0.3 HOT 5
- Python-tesseract on raspberry pi HOT 24
- 64bit crashes Python HOT 4
- Executing the #ri.BoundingBox(level,x1,y1,x2,y2) command for either words or characters
- Building on Centos 7: invalid conversion from ‘const Pix*’ to ‘Pix*’ HOT 9
- Parameter Requirment HOT 1
- self training combine multi-box HOT 1
- Memory leak HOT 3
- Will it be on PyPI? HOT 1
- import error on Mac OS X 10.9.5 HOT 13
- tesseract has no attribute pixRead HOT 10
- python-tesseract for python 3.x version windows 64b HOT 3
- Fails to compile on Ubuntu Trusty with OpenCV 3
- cvSetData error on import HOT 2
- Can't install on OSX
- python compatibility to win7 not avalaible in win7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-tesseract.