Skip to main content

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

Metadata

Release files for winrtqrabber 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for winrtqrabber 0.0.3
File Size Uploaded
winrtqrabber-0.0.3.tar.gz 7.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for winrtqrabber 0.0.3
File Interpreter ABI Platform
winrtqrabber-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 13.8 kB

Release files / winrtqrabber-0.0.3.tar.gz

Download URL winrtqrabber-0.0.3.tar.gz
Size 7.5 kB
Tags Source
SHA-256 checksum
How to use checksums
466c8769ef8b198627fd44a07521e1647f16b17e9152548e79bf1f369a4acde3
BLAKE2b-256 checksum
How to use checksums
999ddfee760005ddffbbef43a26b33178d84fdab641a7addba7413678464225d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.24.0

Release files / winrtqrabber-0.0.3-py3-none-any.whl

Download URL winrtqrabber-0.0.3-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8613c9b73ab96779cb0a64f7b2daaa0897b2a558380380fd0c835d6ce8533371
BLAKE2b-256 checksum
How to use checksums
6880437d40afdb611719c92ab8ae112c5befd8b6d60aad67be806bc9c9cc7e2d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.24.0

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page