zxing-js / browser

ZXing for JS's browser layer with decoding implementations for browser.
MIT License
217 stars 43 forks source link

Shape Detection API (BarcodeDetector) support #5

Open MidnightDesign opened 5 years ago

MidnightDesign commented 5 years ago

I just heard about the upcoming Shape Detection API, which offers native high-performance barcode detection support. It would be great if this package would use that API if the browser supports it and fall back to the JS solution otherwise.

Edit: Chrome Platform Status page for the Shape Detection API

dushkostanoeski commented 3 years ago

This is how far I got with it:

https://stackoverflow.com/questions/62285932/chrome-shapedetetion-api-barcodedetector-works-with-javascript-but-not-with-type

I'm willing to help make this work.

cepm-nate commented 1 year ago

Has anyone seen recent progress on this in the Safari world, or for any browsers on Windows? So far it looks like the only place it works is ChromeOS, MacOS, and Android. https://caniuse.com/mdn-api_barcodedetector