mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-25 11:15:34 +00:00
Bug 1585112 [wpt PR 19406] - Update interfaces/shape-detection-api.idl, a=testonly
Automatic update from web-platform-tests Update interfaces/shape-detection-api.idl (#19406) Source: https://github.com/tidoust/reffy-reports/blob/8c9e1c6/ed/idl/shape-detection-api.idl Build: https://travis-ci.org/tidoust/reffy-reports/builds/591638139 -- wpt-commits: 20116628d6fa6ac2ecb2fea3d0c8dfaab777c852 wpt-pr: 19406
This commit is contained in:
parent
e40d5df72a
commit
a9a82c6d3d
@ -4,9 +4,9 @@
|
||||
// Source: Accelerated Shape Detection in Images (https://wicg.github.io/shape-detection-api/)
|
||||
|
||||
[Exposed=(Window,Worker),
|
||||
SecureContext,
|
||||
Constructor(optional FaceDetectorOptions faceDetectorOptions = {})]
|
||||
SecureContext]
|
||||
interface FaceDetector {
|
||||
constructor(optional FaceDetectorOptions faceDetectorOptions = {});
|
||||
Promise<sequence<DetectedFace>> detect(ImageBitmapSource image);
|
||||
};
|
||||
|
||||
@ -35,9 +35,9 @@ enum LandmarkType {
|
||||
};
|
||||
|
||||
[Exposed=(Window,Worker),
|
||||
SecureContext,
|
||||
Constructor(optional BarcodeDetectorOptions barcodeDetectorOptions = {})]
|
||||
SecureContext]
|
||||
interface BarcodeDetector {
|
||||
constructor(optional BarcodeDetectorOptions barcodeDetectorOptions = {});
|
||||
static Promise<sequence<BarcodeFormat>> getSupportedFormats();
|
||||
|
||||
Promise<sequence<DetectedBarcode>> detect(ImageBitmapSource image);
|
||||
|
Loading…
Reference in New Issue
Block a user