christikaes / qrarjs

4 stars 0 forks source link

use BarcodeDector from ShapeDetection API #1

Open monteslu opened 6 years ago

monteslu commented 6 years ago

here's an example: https://github.com/monteslu/ar3d/blob/master/scripts/jsqrcode/qrworker.js#L24

could fallback to javascript implementation if not on chrome

monteslu commented 6 years ago

a little more info on shape detection API: https://wicg.github.io/shape-detection-api/#barcode-detection-api

It's live in chrome stable