I am trying to install this (and optionally pytesser) for osx 10.9 (with anaconda as python by default). I looked around on the Internet, but I canβt get any of the textbooks for work, because they all seem extinct (for example, the homegrown language does not have a leptonic formula). I probably tried to fix this for most of the week, absolutely out of luck.
Has anyone succeeded lately - how did you do it?
thank
Edit: It is strange that a brew for leptonica has taken off. I have a rather strange error below.
brew install tesseract
==> Downloading https://bitbucket.org/3togo/python-tesseract/downloads/tesseract
Already downloaded: /Library/Caches/Homebrew/tesseract-3.03-rc1.tar.gz
==> ./configure
checking for leptonica... yes
checking for pixCreate in -llept... yes
checking leptonica version >= 1.70... configure: error: in `/private/tmp/tesseract- 19Ol/tesseract-3.03':
configure: error: leptonica 1.70 or higher is required
See `config.log' for more details
READ THIS: https://github.com/Homebrew/homebrew/wiki/troubleshooting
that is, it registers the installation, but still does not work. I will check the configuration. file according to instructions
Edit 2:
When I try to import the library in python, I get the following:
import tesseract
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "//anaconda/lib/python2.7/site-packages/python-tesseract_0.8-3.0-py2.7_macosx-10.9- intel.egg/tesseract.py", line 28, in <module>
_tesseract = swig_import_helper()
File "//anaconda/lib/python2.7/site-packages/python-tesseract_0.8-3.0-py2.7_macosx-10.9-intel.egg/tesseract.py", line 24, in swig_import_helper
_mod = imp.load_module('_tesseract', fp, pathname, description)
ImportError: dlopen(//anaconda/lib/python2.7/site-packages/python-tesseract_0.8-3.0- py2.7_macosx-10.9-intel.egg/_tesseract.so, 2): Library not loaded: /usr/local/lib/libtesseract.3.dylib
://anaconda/lib/python2.7/site-packages/python-tesseract_0.8-3.0-py2.7_macosx-10.9-intel.egg/_tesseract.so
:
, Google, . , - , , , , , , ocr-100% , . , - - python ocr / mainatenance, ( Google , tesseract , , )
.. , .
!