https://github.com/LazarSoft/jsqrcode
Javascript QRCode scanner
https://github.com/LazarSoft/jsqrcode
Last synced: 25 days ago
JSON representation
Javascript QRCode scanner
- Host: GitHub
- URL: https://github.com/LazarSoft/jsqrcode
- Owner: LazarSoft
- License: apache-2.0
- Created: 2011-09-15T10:58:01.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2023-08-17T14:32:46.000Z (over 1 year ago)
- Last Synced: 2024-04-27T05:02:35.187Z (12 months ago)
- Language: JavaScript
- Homepage: http://www.webqr.com
- Size: 59.6 KB
- Stars: 3,946
- Watchers: 204
- Forks: 1,165
- Open Issues: 93
-
Metadata Files:
- Readme: README
- License: COPYING
Awesome Lists containing this project
- awesome-canvas - jsqrcode - Javascript Javascript QRCode scanner.   (Libraries / QR code)
- awesome-client-side - jsqrcode - Javascript QRCode scanner - [Try it!](https://webqr.com/) (QRCode / Video)
README
JavaScript QRCode reader for HTML5 enabled browser.
2011 Lazar Laszlo http://lazarsoft.infoTry it online: http://webqr.com
This is a port of ZXing qrcode scanner, http://code.google.com/p/zxing.
Usage:
Include the scripts in the following order:
Set qrcode.callback to function "func(data)", where data will get the decoded information.
Decode image with: qrcode.decode(url or DataURL).
Decode from canvas with "qr-canvas" ID: qrcode.decode()[new from 2014.01.09]
For webcam qrcode decoding (included in the test.html) you will need a browser with getUserMedia (WebRTC) capability.