NaturalHistoryMuseum/dmtx-wrappers

Name: dmtx-wrappers

Owner: Natural History Museum

Description: Visual Studio solution for 32-bit and 64-bit builds of the pydmtx Python package

Created: 2015-04-03 16:30:07.0

Updated: 2016-10-28 14:25:26.0

Pushed: 2016-10-28 14:25:25.0

Homepage:

Size: 2792

Language: C

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

dmtx-wrappers

Visual Studio solution for 32-bit and 64-bit builds of the pydmtx Python package. Tested with Anaconda distribution of Python 2.7.x and Visual Studio Community 2013.

Forked from http://sourceforge.net/p/libdmtx/libdmtx/ci/master/tree/ on 2015-04-03.

Installing on Windows

Install a release from this repo. For 32-bit:

s://github.com/NaturalHistoryMuseum/dmtx-wrappers/releases/download/v0.7.4b1/pydmtx-0.7.4b1-cp27-none-win32.whl

64-bit:

s://github.com/NaturalHistoryMuseum/dmtx-wrappers/releases/download/v0.7.4b1/pydmtx-0.7.4b1-cp27-none-win_amd64.whl

The wheel was built using Visual C++ 2013. If Python reports an ImportError when import pydmtx is run then you will need to install the Visual C++ Redistributable Packages for Visual Studio 2013.

Building

You should only need to build if you want to release a new version.

pydmtx can be built using MinGW but I had limited success with that solution - the 32-bit build was able to find barcodes in some images but not all and the 64-bit build caused the Python process to segfault as soon as a _pydmtx function was called. 64-bit builds of MinGW are known to be buggy.

This Visual Studio project was created by following Python's instructions for Building C and C++ Extensions on Windows and instructions on libdmtx wiki.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.