WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 255803
198174
Feature Request: Implement the Shape Detection API `BarcodeDetector` and `FaceDetector`
https://bugs.webkit.org/show_bug.cgi?id=198174
Summary
Feature Request: Implement the Shape Detection API `BarcodeDetector` and `Fac...
Thomas Steiner
Reported
2019-05-23 00:29:43 PDT
The Shape Detection API (
https://wicg.github.io/shape-detection-api/
) defines detectors for faces (
https://wicg.github.io/shape-detection-api/#face-detection-api
) and barcodes (
https://wicg.github.io/shape-detection-api/#barcode-detection-api
), both of which are natively supported by the iOS Camera app. This API exposes these OS-level detectors to web applications through straight-forward interfaces. There is a well-documented industry case where native barcode detection would help from eBay:
https://medium.com/ebaytech/webassembly-at-ebay-a-real-world-use-case-ef888f38b537
.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2019-05-23 17:12:19 PDT
<
rdar://problem/51089129
>
Boghyon Hoffmann
Comment 2
2021-09-17 04:46:15 PDT
I work with SAP customers. Especially the barcode detection is highly requested by small-mid-size businesses who can't hire (expensive) iOS developers. B2B customers need to be able to decode QR and barcodes quickly and reliably in various conditions within their mobile web apps.
depetoh107
Comment 3
2022-04-24 14:49:18 PDT
What's the progress on this? Really important use cases all round here, and Chrome is now shipping this on Android as of version 100.
Thomas Steiner
Comment 4
2022-04-25 00:15:32 PDT
For a real world use case of the BarcodeDetector, see
https://web.dev/mishipay/
. Currently, iOS users are forced on the slow code path that needs to download the barcode reader implementation, whereas Android users can use their OS built-in barcode reader implementation.
halifirien
Comment 5
2023-08-10 09:54:17 PDT
looks like this is available in Safari Technical Preview 176 (perhaps even earlier) behind `Shape Detection API` feature flag.
https://github.com/WebKit/standards-positions/issues/174#issuecomment-1539422664
QR scanning worked in main thread, however BarcodeDetector was available in WebWorker but appears unusable.
Sam Sneddon [:gsnedders]
Comment 6
2023-10-27 06:41:50 PDT
*** This bug has been marked as a duplicate of
bug 255803
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug