Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

winrtqrabber-0.0.3.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

winrtqrabber-0.0.3-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file winrtqrabber-0.0.3.tar.gz.

File metadata

  • Download URL: winrtqrabber-0.0.3.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.24.0

File hashes

Hashes for winrtqrabber-0.0.3.tar.gz
Algorithm Hash digest
SHA256 466c8769ef8b198627fd44a07521e1647f16b17e9152548e79bf1f369a4acde3
MD5 e2dd048972af37baa1829b3a8e1e18a6
BLAKE2b-256 999ddfee760005ddffbbef43a26b33178d84fdab641a7addba7413678464225d

See more details on using hashes here.

File details

Details for the file winrtqrabber-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for winrtqrabber-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8613c9b73ab96779cb0a64f7b2daaa0897b2a558380380fd0c835d6ce8533371
MD5 bfde81476270a4daeba2022a8723c8aa
BLAKE2b-256 6880437d40afdb611719c92ab8ae112c5befd8b6d60aad67be806bc9c9cc7e2d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page