schmich / instascan

HTML5 QR code scanner using your webcam
https://schmich.github.io/instascan/
MIT License
2.95k stars 866 forks source link

Allow pluggable QR code analyzers #34

Open schmich opened 7 years ago

schmich commented 7 years ago
pocesar commented 7 years ago

ZXing is abandoned (js version), maybe use https://github.com/edi9999/jsqrcode or https://github.com/cozmo/jsQR?

schmich commented 7 years ago

@pocesar Are you seeing any perf/recognition issues with the current setup?

I don't wan't to stick with an abandoned library, but the plan right now is:

pocesar commented 7 years ago

@schmich actually, I'm not having any issues, the only problem I see in the proposal for plugins, is maintainability. each library have a different API, so you'd need to create a plugin interface between them and release / maintain them. and also, we don't know issues that may arise, since ZXing ported version has been abandoned (at least by taking a look at their repo)

styfle commented 6 years ago

Long-term: As WebAssembly gets implemented in the various major browsers, investigate integration with the original Java ZXing implementation via wasm

Yes! This would be excellent! I see that today, WASM is available in about 65% of browsers in the wild. If you take into account only the latest version of each browser, then WASM is 100% supported 💯