Comments (5)
Oh wow. I don't use Windows at all, so I've never tried building. Such is my desire to see this working cross-platform that I'll probably find a Windows VM and experiment, but it may take a little while. If anyone has suggestions in the meantime, they're welcome.
from tesserpy.
OK, I may have found why I could not load the module : libtesseract302.dll was missing liblepta168.dll. I downloaded it and added it to the setup script and I can now import tesserpy.
found out on http://tesseract-ocr.googlecode.com/svn/trunk/vs2008/doc/setup.html after some serious digging into various places...
I'll keep you posted, if anyone needs to build tesserpy on windows someday.
from tesserpy.
For testing purpose, here is the output file of bdist_wininst for my platform : tesserpy-1.1.1.win32-py2.7.exe https://docs.google.com/file/d/0B5GKfjwEuZ0LZ0RlWDgyZHJySXc
Also, the setup.py I used :
# Copyright 2013 The Blindsight Corporation
# Note : I have created a tesseract fordler with the required lib/*.dll at the same location as the setup.py script.
from distutils.core import setup, Extension
import numpy, distutils
setup(
name = 'tesserpy',
version = '1.1.1',
description = 'Python interface to the Tesseract library',
maintainer = 'Kevin Rauwolf',
maintainer_email = '[email protected]',
url = 'https://github.com/blindsightcorp/tesserpy',
requires = ['numpy', ],
ext_modules = [
Extension('tesserpy', ['tesserpy.cpp', ],
libraries = ['libtesseract302', ],
include_dirs = [numpy.get_include(), ],
),
],
data_files = [('Scripts', ['tesseract/lib/libtesseract302.dll', 'tesseract/lib/liblept168.dll']), ],
)
from tesserpy.
Were you able to get it working with that setup? (Also, what OS were you using to compile? I was under the impression that Visual Studio 2012 Express didn't run on Windows XP.)
from tesserpy.
Seems this builds.
from tesserpy.
Related Issues (11)
- TesserPy is slower than the command line tool HOT 1
- error compiling HOT 1
- differences between tesserpy and command line tesseract HOT 2
- Is it possible to set PSM mode? HOT 1
- Compiling tesserpy on Debian (ResultIterator errors) HOT 4
- Is it possible to pass 'init only' params to the constructor? HOT 4
- Datapath parameter doesn't seem to do anything HOT 2
- Segfault on empty datapath
- Don't require call to get_utf8_text() before calling iterators HOT 1
- Error in `python3': free(): invalid next size (normal): 0x0000000001f4ee80 HOT 10
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 tesserpy.