Shape Detection API

Photos and images constitute the largest chunk of the Web, and many include recognisable features, such as human faces, text, or QR codes. Detecting these features is computationally expensive, but, particularly on mobile devices, hardware manufacturers have long been supporting these features. This API allows accessing hardware-accelerated detectors where available. This is expected to be in origin trials in Chrome 70.

Comments

Support for this API is dependant on hardware acceleration features that vary by operating system. BarcodeDetector: Android*, macOS (improved accuracy in 10.13+) FaceDetector: Android, macOS (improved accuracy in 10.13+), Windows 10 TextDetector: Android*, macOS 10.11+, Windows 10 * Requires a device with the Play support libraries installed.

Demos

Documentation

Specification

Editor's draft

Status in Chromium

Blink>ImageCapture


Origin trial (tracking bug) in:

  • Chrome for desktop release 70
  • Chrome for Android release 70
  • Android WebView release 70

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

  • Public support
  • No public signals
  • No public signals
  • Positive

Owners

Last updated on 2018-09-07