Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use zbar + WASM as the fallback instead of jsqrcode #55

Open
monteslu opened this issue Apr 5, 2019 · 2 comments
Open

use zbar + WASM as the fallback instead of jsqrcode #55

monteslu opened this issue Apr 5, 2019 · 2 comments

Comments

@monteslu
Copy link

monteslu commented Apr 5, 2019

jsqrcode has decent performance in the webworker, but its is much less accurate than zbar + WASM. Also zbar gives back the four corners of the qrcode's shape which makes it a better candidate for a proper polyfill to BarcodeDetector.

Did some proof of concept work here: https://github.com/monteslu/qr_perf

Live demo here: https://qrperf.netlify.com/

@PaulKinlan
Copy link
Owner

Ooooh, interesting. Nice.

I am thinking the following. Use this as fallback when shapedetection is not available, but WASM is, then use existing Worker model for devices that don't support either.

@PaulKinlan
Copy link
Owner

@paullewis who has been playing around with something similar (as FYI)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants