GithubHelp home page GithubHelp logo

Comments (5)

squidpickles avatar squidpickles commented on August 27, 2024

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.

tcourbon avatar tcourbon commented on August 27, 2024

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.

tcourbon avatar tcourbon commented on August 27, 2024

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.

squidpickles avatar squidpickles commented on August 27, 2024

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.

squidpickles avatar squidpickles commented on August 27, 2024

Seems this builds.

from tesserpy.

Related Issues (11)

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.