Bug 198174 - Feature Request: Implement the Shape Detection API `BarcodeDetector` and `FaceDetector`
Summary: Feature Request: Implement the Shape Detection API `BarcodeDetector` and `Fac...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: Safari 12
Hardware: iPhone / iPad iOS 12
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-05-23 00:29 PDT by Thomas Steiner
Modified: 2021-09-17 04:46 PDT (History)
9 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Steiner 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.
Comment 1 Radar WebKit Bug Importer 2019-05-23 17:12:19 PDT
<rdar://problem/51089129>
Comment 2 Boghyon Hoffmann 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.