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.2.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for winrtqrabber-0.0.2.tar.gz
Algorithm Hash digest
SHA256 3941860a80c3483ecdef0639c533737f11c45656d3ffb9daf316bd0037aa1cfa
MD5 fad25faa8e9eb3b4ae5048269530d00c
BLAKE2b-256 11d8812879879c714563f7619f7dd2a668b231a118a0d964d40efe5466a93564

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for winrtqrabber-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1399f3d965e83f9fdf5de2ca8923b78344870ca483f2ec2f262cb8afb816dd3c
MD5 9ae4a141ea0fde52e599fe5428fa3fb8
BLAKE2b-256 5468664568877c1555b2e2d6c7df45684a88729e3fd52eaa51beeeca6b0248d9

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