支持多种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)


推荐,扫描一维,二维

GitHub - zxing/zxing: ZXing ("Zebra Crossing") barcode scanning library for Java, Android


案例

1.识别QR码

2.同时识别QR码、条形码、DM码等