NaturalHistoryMuseum/zbar-python-patched

Name: zbar-python-patched

Owner: Natural History Museum

Description: Python wrapper for ZBar bar code library, patched for OS X, and with a wheel for 32-bit Python on Windows

Created: 2016-01-14 07:56:07.0

Updated: 2016-09-27 22:21:54.0

Pushed: 2016-01-14 19:47:25.0

Homepage:

Size: 39

Language: C

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

ZBar

ZBar is an open source software suite for reading bar codes from various sources, such as video streams, image files and raw intensity sensors. It supports many popular symbologies (types of bar codes) including EAN-13/UPC-A, UPC-E, EAN-8, Code 128, Code 39, Interleaved 2 of 5 and QR Code.

The purpose of this repository

This repository is forked from the ZBar python wrapper download at PyPI, and only contains the python wrapper for the C library. For the full C library source, installation directions, etc., check out the ZBar homepage.

The Natural History Museum's fork adds a wheel build for Windows 32-bit.

Fixes implemented

Patches imagescanner.c to fix crashing (segmentation fault 11) issues with import zbar on OS X.

Patch taken from http://launchpadlibrarian.net/134768014/zbar_0.10+doc-7build3_0.10+doc-8.diff.gz.

Installing on Mac OS X

Installing on Windows 32-bit

Install a release from this repo, e.g.:

install https://github.com/NaturalHistoryMuseum/zbar-python-patched/releases/download/v0.10/zbar-0.10-cp27-none-win_win32.whl

Building for Windows 32-bit

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

The dist directory will contain a wheel.


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.