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 (https://pypi.org/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
File details
Details for the file winrtqrabber-0.0.1.tar.gz
.
File metadata
- Download URL: winrtqrabber-0.0.1.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.24.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05a555955efb5ac7ec69905826b5a91fcd46ed6d282a10bd72b14ef14f270f46 |
|
MD5 | 8cbab08c34fe57cf8a4f4706a33ed128 |
|
BLAKE2b-256 | c5ccb98c8d94fe1114090e05d63607cee667e14d8eacf80f35051242190fe08f |
File details
Details for the file winrtqrabber-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: winrtqrabber-0.0.1-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.24.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8313603af2e1a412c9d19c89cbaa3c9b61479480cbde691c84da4ea8aae6661c |
|
MD5 | 82e052257d66106fc77df9b9072f0917 |
|
BLAKE2b-256 | 16d9c2697942e568760b92a617530318ceb0c470be655be0ec70bdae764fefd3 |