WICG / shape-detection-api

Detection of shapes (faces, QR codes) in images
https://wicg.github.io/shape-detection-api
Other
306 stars 36 forks source link

Selecting barcode formats #29

Closed brason closed 7 years ago

brason commented 7 years ago

Currently BarcodeDetector searches for every supported barcode format. To improve performance it would be nice if you could select only the formats you need.

yell0wd0g commented 7 years ago

Yeah, I think we should provide a way for the platform to enumerate the supported formats (Mac impl detects only a few formats), so the user could select the desired ones. The detected format should also be specified in the response (see #30). I should work on a PR for this.

yell0wd0g commented 7 years ago

Addressed by the previous commit. Chromium bug 747199 tracks its implementation in Chrome.