支持多种qr码,条形码

mebjas/html5-qrcode: A cross platform HTML5 QR code reader. See end to end implementation at: https://scanapp.org (github.com)



只识别条形码

quaggaJS/example/camera_example.html at master · serratus/quaggaJS (github.com)


同时支持qr码,条形码

mebjas/html5-qrcode: A cross platform HTML5 QR code reader. See end to end implementation at: https://scanapp.org (github.com)


案例

1.识别QR码