Chromium Code Reviews| Index: third_party/WebKit/public/platform/modules/shapedetection/shapedetection.mojom |
| diff --git a/third_party/WebKit/public/platform/modules/shapedetection/shapedetection.mojom b/third_party/WebKit/public/platform/modules/shapedetection/shapedetection.mojom |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..7d837b6369f1309876b1e039015dee3c4459f75a |
| --- /dev/null |
| +++ b/third_party/WebKit/public/platform/modules/shapedetection/shapedetection.mojom |
| @@ -0,0 +1,17 @@ |
| +// Copyright 2015 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +module blink.mojom; |
| + |
| +// BoundingBox is defined with its upper-left point, width and height. |
| +struct BoundingBox { |
| + double x; |
| + double y; |
| + double width; |
| + double height; |
| +}; |
| + |
| +interface ShapeDetection { |
|
mcasas
2016/09/30 02:14:59
Add a comment with the link to the Spec URL.
Same
xianglu
2016/09/30 16:37:41
Done.
|
| + DetectFace(handle<shared_buffer> frame_data, uint32 width, uint32 height) => (array<BoundingBox> boundingBoxes); |
| +}; |