Python ctypes libzbar wrapper
Project description
libzbar-ctypes
===========
This is libzbar python ctypes bindings, it should support python2 and python3.
I can not find a python3 version zbar library under raspberry pi, so i write this codes for it.
It should work under other platform only need replace the libzbar path.
It only test under Raspbian (raspberry pi) now.
Usage
-----
- Install
- install libzbar::
sudo apt-get install zbar-tools
- install libzbar_ctypes
- python3::
pip install libzbar-ctypes
- python2::
pip3 install libzbar-ctypes
- Example (on raspberry pi)
- install pillow
install Prerequisites packages. see http://pillow.readthedocs.org/en/latest/installation.html
download pillow source code (http://python-pillow.github.io/), and compile it.
- run the example script.
- test
- test under ubuntu 15.04.
- test on hardware firefly.
- test on hardware rasyberry pi.
todo
----
Add all libzbar function bindings.
Contact
-------
by jf.
zaazbb <zaazbb@163.com>
===========
This is libzbar python ctypes bindings, it should support python2 and python3.
I can not find a python3 version zbar library under raspberry pi, so i write this codes for it.
It should work under other platform only need replace the libzbar path.
It only test under Raspbian (raspberry pi) now.
Usage
-----
- Install
- install libzbar::
sudo apt-get install zbar-tools
- install libzbar_ctypes
- python3::
pip install libzbar-ctypes
- python2::
pip3 install libzbar-ctypes
- Example (on raspberry pi)
- install pillow
install Prerequisites packages. see http://pillow.readthedocs.org/en/latest/installation.html
download pillow source code (http://python-pillow.github.io/), and compile it.
- run the example script.
- test
- test under ubuntu 15.04.
- test on hardware firefly.
- test on hardware rasyberry pi.
todo
----
Add all libzbar function bindings.
Contact
-------
by jf.
zaazbb <zaazbb@163.com>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
libzbar-ctypes-0.1.2.tar.gz
(4.7 kB
view details)
File details
Details for the file libzbar-ctypes-0.1.2.tar.gz
.
File metadata
- Download URL: libzbar-ctypes-0.1.2.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0fbe3c6ed4aa18ff61b945f6079d7101aa261b388ca0844e4df810cd2e160aa4 |
|
MD5 | 32daaa5f3a3145cbe5894a679c64315e |
|
BLAKE2b-256 | f720f98f3316eede33986ce5220cfa0f1d7ce20f3443f748affba8f9b9275dd9 |