Created
April 29, 2015 21:29
-
-
Save holocronweaver/66eb45f57df5c32fe00e to your computer and use it in GitHub Desktop.
Use your webcam to open a QR code embedded URL with your default web browser.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python2 | |
'''Use your webcam to open a QR code embedded URL with your default web browser.''' | |
from qrtools import QR | |
import webbrowser | |
myCode = QR() | |
myCode.decode_webcam(lambda data: webbrowser.open(data)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment