blob: 95b642749f73a63d62d5aa5320815aeb7091be4b [file] [log] [blame]
Victor Porof6e096922022-06-10 13:01:05 +00001// GENERATED CONTENT - DO NOT EDIT
2// Content was automatically extracted by Reffy into webref
3// (https://github.com/w3c/webref)
4// Source: Accelerated Text Detection in Images (https://wicg.github.io/shape-detection-api/text.html)
5
6[
7 Exposed=(Window,Worker),
8 SecureContext
9] interface TextDetector {
10 constructor();
11 Promise<sequence<DetectedText>> detect(ImageBitmapSource image);
12};
13
14dictionary DetectedText {
15 required DOMRectReadOnly boundingBox;
16 required DOMString rawValue;
17 required FrozenArray<Point2D> cornerPoints;
18};