Qr code scanner
Project description
winrtqrabber
A QRcode webcam scanner for win10 only (no opencv, no pyzbar). There are many tutorials available that explain how to scan a barcode using your webcam with python. They all make use of opencv for camera access and pyzbar for decoding the barcode, but windows10 has all these capabilities built-in, and I wanted to use these, assuming this would lead to a cleaner/better (?) solution.
This package makes use of the python bindings for winrt (http://mirror-pypi-de.runflare.com/project/winrt/), which allows using the "Universal Windows Platform" API directly. For Barcode specific info: https://docs.microsoft.com/en-us/uwp/api/windows.devices.pointofservice.barcodescanner?view=winrt-19041
Installation
pip install winrtqrabber
Demo
Clone the repo or copy the demo.py
and requirements.txt
file.
From inside a virtual environment install the requirements:
pip install -r requirements.txt
Run the demo:
python demp.py
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
Built Distribution
Hashes for winrtqrabber-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8613c9b73ab96779cb0a64f7b2daaa0897b2a558380380fd0c835d6ce8533371 |
|
MD5 | bfde81476270a4daeba2022a8723c8aa |
|
BLAKE2b-256 | 6880437d40afdb611719c92ab8ae112c5befd8b6d60aad67be806bc9c9cc7e2d |