tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

text-detection-api.idl (545B)


      1 // 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 
     14 dictionary DetectedText {
     15  required DOMRectReadOnly boundingBox;
     16  required DOMString rawValue;
     17  required sequence<Point2D> cornerPoints;
     18 };