[wpt-sync] Sync PR 15993 - Barcode Detection Mac: Accept barcode format hint in detector constructor.
Categories
(Testing :: web-platform-tests, enhancement, P4)
Tracking
(firefox69 fixed)
| Tracking | Status | |
|---|---|---|
| firefox69 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 15993 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/15993
Details from upstream follow.
Jao-ke Chin-Lee <jchinlee@chromium.org> wrote:
Barcode Detection Mac: Accept barcode format hint in detector constructor.
A user may specify barcode formats to which to restrict detection, which
are converted internally to all known related variants.For Mac, this is done by setting the "symbologies" property of a Vision
API request. This request created and performs detection in util functions,
and otherwise is handled in wrapped form, so introduce two callbacks:
- SetupCallback in detection_utils_mac.h, which operates on a request
- SetupOptionsCallback in barcode_detection_impl_mac_vision.h, which
becomes a SetupCallback by specifying how a request processes
BarcodeDetectorOptions.Change-Id: Ia12d250f9a753187c47c85b0fbc0765840e865ab
Reviewed-on: https://chromium-review.googlesource.com/1530190
WPT-Export-Revision: 40f31844009084ac8b59200650a6e7a1f2a78d85
| Assignee | ||
Comment 1•6 years ago
|
||
| Assignee | ||
Comment 2•6 years ago
|
||
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Comment 3•6 years ago
|
||
| Assignee | ||
Comment 4•6 years ago
|
||
| Assignee | ||
Comment 5•6 years ago
|
||
| Assignee | ||
Comment 6•6 years ago
|
||
| Assignee | ||
Comment 7•6 years ago
|
||
Comment 9•6 years ago
|
||
| bugherder | ||
Description
•