We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(5)
更新我终于使用jsqrcode发布了我的演示。请在此处尝试一下。
这些 http://www.webqr.com/ 家伙实际上已经将 ZXing 二维码扫描器移植到了 javascript https://github.com/LazarSoft/jsqrcode!
您唯一需要闪光灯的就是使用网络摄像头(在他们的示例中)。 JavaScript 解码和检测适用于画布元素。
我目前正在使用 HTML5 Camera API 和 LazarSoft 的 javascript 位来检测和解码浏览器中的 QR 码。纯 web :-D
对于桌面测试,请在 chrome:flags 下设置启用 MediaStream 标志,或从 Opera Labs 获取相机捆绑客户端 http://snapshot.opera.com/labs/camera/
UPDATE I finally put up my demo using jsqrcode. Try it here.
These http://www.webqr.com/ guys have actually ported the ZXing qrcode scanner to javascript https://github.com/LazarSoft/jsqrcode !!
The only thing you need the flash thing for is to use the webcam (in their examples). The javascript decode and detection works on canvas elements.
I'm currently using the HTML5 Camera API and the javascript bits from LazarSoft to detect and decode QR codes in the browser. Pure web :-D
For desktop testing set the Enable MediaStream flag under chrome:flags, or get the camera bundled client from Opera Labs http://snapshot.opera.com/labs/camera/
这是当前用于条形码扫描的库:
https://github.com/wildabeast/BarcodeScanner
现在是 Cordova / PhoneGap 的官方跨平台 BarcodeScanner
https://github.com/phonegap/phonegap-plugin-barcodescanner
This is the current go to library for barcode scanning:
https://github.com/wildabeast/BarcodeScanner
Now the official cross-platform BarcodeScanner for Cordova / PhoneGap
https://github.com/phonegap/phonegap-plugin-barcodescanner
另请参阅此教程,其中展示了如何使用制作PhoneGap应用程序="https://github.com/phonegap/phonegap-plugins/tree/master/Android/BarcodeScanner" rel="noreferrer">条形码扫描仪插件使用 斑马线库
See also this Tutorial which shows how to make a PhoneGap app using the Barcode Scanner plugin that uses the Zebra Crossing library
这个看起来不错。根据他们自己的描述:
演示:http://cirocosta.github.io/qcode-decoder/
存储库:https://github.com/cirocosta/qcode-decoder
This one looks nice. According with their own description:
Demo: http://cirocosta.github.io/qcode-decoder/
Repository: https://github.com/cirocosta/qcode-decoder
查看这些:
http://openalexandria.com /2010/10/qrcode-decode-javascript-read-qr-code-with-javascript
http://pt.sourceforge.jp/projects/jpqr
Check these out:
http://openalexandria.com/2010/10/qrcode-decode-javascript-read-qr-code-with-javascript
http://pt.sourceforge.jp/projects/jpqr