Skip to content

wenoptics/zbar

 
 

Repository files navigation

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.

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.

Feature Added(wenop)

Patches processor.c to make it possible to set pre-scale value for the camera in Python, as with --prescale arguments when execute 'zbarcam'.

I set pre-scale to a relatively low resolution to make zbarcam process faster on Raspiberry Pi. See the example.

About

ZBar python wrapper for ZBar bar code library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 83.5%
  • Python 16.5%