[blink-dev] Intent to Continue Experimenting: Handwriting Recognition API

58 views
Skip to first unread message

Jiewei Qian

unread,
Aug 22, 2021, 11:45:27 PM8/22/21
to blink-dev, handwriti...@google.com

Contact emails

q...@chromium.orghong...@chromium.orgmgi...@chromium.org

Explainer

https://github.com/WICG/handwriting-recognition/blob/main/explainer.md

Specification



Summary

An API for web applications to make use of advanced handwriting recognition services (e.g. those on operating systems) to recognize text from handwriting drawings (inks) in real time. In this context, handwriting drawing means the temporal and positional information used to describe a human handwriting process.



Blink component

Blink>Handwriting

TAG review

https://github.com/w3ctag/design-reviews/issues/591

TAG review status

Pending

Risks



Interoperability and Compatibility

Different browsers (and operating systems) will expose different underlying implementations and produce different outputs given the same input. We think this is acceptable given the implementation is machine-learning based, and it is not feasible or desirable to precisely specify the expected output for a given input in a standard. In the past, we have taken this approach for the Web Speech and Shape Detection APIs.



Gecko: No signal (https://github.com/mozilla/standards-positions/issues/507) Feedback requested, no reply yet.

WebKit: No signal (https://lists.webkit.org/pipermail/webkit-dev/2021-March/031762.html) Feedback requested, no reply yet.

Web developers: No signals Filed https://github.com/WICG/handwriting-recognition/issues/21


Goals for experimentation

- General API design. Determine if the API design satisfies the App developer's use cases - Specifically, we want to see if the current API design provides sufficient information (in the result) to enable web developers to make use of this feature.



Reason this experiment is being extended

We want to propose a new API design for querying language supports, which is easier to understand, and more extensible in the future. This change is targeting M95. Proposal: https://github.com/WICG/handwriting-recognition/pull/20 This will be a minor breaking change, web developers have to update their feature detection code to keep using the feature. We want to extend the origin trial to avoid disruption to existing clients. This can alternatively be set up as a V2 origin trial. Revised timeline: Original origin trial - first milestone: M91 Original origin trial - last milestone: M94 Proposed change implementation: M95 Extended origin trial - last milestone: M97



Ongoing technical constraints

None



Debuggability

N/A. Existing DevTools tooling works for this feature.



Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?

No

Initially we will implement this feature on Chrome OS, since it has handwriting recognition service ready for use. We will need to do additional work to integrate with other platforms. Handwriting recognition capabilities already exist on all other platforms. We will do other I2E / I2S for implementing this on other platforms, due to the different security and privacy implications.



Is this feature fully tested by web-platform-tests?

No

Flag name



Requires code in //chrome?

False

Tracking bug

https://crbug.com/1207667

Launch bug

https://crbug.com/1206121

Estimated milestones

OriginTrial desktop first91
OriginTrial desktop last97


Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5263213807534080

Links to previous Intent discussions

Intent to prototype: https://groups.google.com/a/chromium.org/g/blink-dev/c/VXUq1UY4m7Y
Intent to Experiment: https://groups.google.com/a/chromium.org/g/blink-dev/c/o8RqlFwZItQ/m/vgHLF_pHBQAJ


This intent message was generated by Chrome Platform Status.

Thomas Steiner

unread,
Aug 23, 2021, 2:43:49 AM8/23/21
to Jiewei Qian, blink-dev, handwriti...@google.com
On Mon, Aug 23, 2021 at 5:45 AM Jiewei Qian <q...@chromium.org> wrote:

Contact emails

q...@chromium.orghong...@chromium.orgmgi...@chromium.org

Explainer

https://github.com/WICG/handwriting-recognition/blob/main/explainer.md

Specification



Summary

An API for web applications to make use of advanced handwriting recognition services (e.g. those on operating systems) to recognize text from handwriting drawings (inks) in real time. In this context, handwriting drawing means the temporal and positional information used to describe a human handwriting process.



Blink component

Blink>Handwriting

TAG review

https://github.com/w3ctag/design-reviews/issues/591

TAG review status

Pending

Risks



Interoperability and Compatibility

Different browsers (and operating systems) will expose different underlying implementations and produce different outputs given the same input. We think this is acceptable given the implementation is machine-learning based, and it is not feasible or desirable to precisely specify the expected output for a given input in a standard. In the past, we have taken this approach for the Web Speech and Shape Detection APIs.



Gecko: No signal (https://github.com/mozilla/standards-positions/issues/507) Feedback requested, no reply yet.

WebKit: No signal (https://lists.webkit.org/pipermail/webkit-dev/2021-March/031762.html) Feedback requested, no reply yet.

Web developers: No signals Filed https://github.com/WICG/handwriting-recognition/issues/21

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CANFkJJkwiFwAFVq5t7UN_YQG%2BEAcSRQH-JMhTfSLkgpnjjLeUQ%40mail.gmail.com.


--
Thomas Steiner, PhD—Developer Advocate (https://blog.tomayac.com, https://twitter.com/tomayac)

Google Germany GmbH, ABC-Str. 19, 20354 Hamburg, Germany
Geschäftsführer: Paul Manicle, Halimah DeLaine Prado
Registergericht und -nummer: Hamburg, HRB 86891

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.1.23 (GNU/Linux)

iFy0uwAntT0bE3xtRa5AfeCheCkthAtTh3reSabiGbl0ck0fjumBl3DCharaCTersAttH3b0ttom.hTtPs://xKcd.cOm/1181/
-----END PGP SIGNATURE-----

Yoav Weiss

unread,
Aug 25, 2021, 10:26:53 AM8/25/21
to blink-dev, Thomas Steiner, blink-dev, handwriti...@google.com, Jiewei Qian
On Monday, August 23, 2021 at 8:43:49 AM UTC+2 Thomas Steiner wrote:
On Mon, Aug 23, 2021 at 5:45 AM Jiewei Qian <q...@chromium.org> wrote:


Explainer

https://github.com/WICG/handwriting-recognition/blob/main/explainer.md

Specification



Summary

An API for web applications to make use of advanced handwriting recognition services (e.g. those on operating systems) to recognize text from handwriting drawings (inks) in real time. In this context, handwriting drawing means the temporal and positional information used to describe a human handwriting process.



Blink component

Blink>Handwriting

TAG review

https://github.com/w3ctag/design-reviews/issues/591

TAG review status

Pending

Risks



Interoperability and Compatibility

Different browsers (and operating systems) will expose different underlying implementations and produce different outputs given the same input. We think this is acceptable given the implementation is machine-learning based, and it is not feasible or desirable to precisely specify the expected output for a given input in a standard. In the past, we have taken this approach for the Web Speech and Shape Detection APIs.



Gecko: No signal (https://github.com/mozilla/standards-positions/issues/507) Feedback requested, no reply yet.

WebKit: No signal (https://lists.webkit.org/pipermail/webkit-dev/2021-March/031762.html) Feedback requested, no reply yet.

Web developers: No signals Filed https://github.com/WICG/handwriting-recognition/issues/21

That does seem positive enough. Are there developers already signed up to the ongoing OT? Any signals/feedback from them?
 
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.

Jiewei Qian

unread,
Aug 26, 2021, 2:04:57 AM8/26/21
to Yoav Weiss, blink-dev, Thomas Steiner, handwriti...@google.com
I'll update Web developer signal to positive.

We have developers using OT, their feedback is: "Moderately easy" to use and "Extremely likely" to keep using. I haven't seen comments on changing the API design to better support their use cases.

On Thu, Aug 26, 2021 at 12:26 AM Yoav Weiss <yoav...@chromium.org> wrote:
On Monday, August 23, 2021 at 8:43:49 AM UTC+2 Thomas Steiner wrote:
On Mon, Aug 23, 2021 at 5:45 AM Jiewei Qian <q...@chromium.org> wrote:
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.


--
Thomas Steiner, PhD—Developer Advocate (https://blog.tomayac.com, https://twitter.com/tomayac)

Google Germany GmbH, ABC-Str. 19, 20354 Hamburg, Germany
Geschäftsführer: Paul Manicle, Halimah DeLaine Prado
Registergericht und -nummer: Hamburg, HRB 86891

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.1.23 (GNU/Linux)

iFy0uwAntT0bE3xtRa5AfeCheCkthAtTh3reSabiGbl0ck0fjumBl3DCharaCTersAttH3b0ttom.hTtPs://xKcd.cOm/1181/
-----END PGP SIGNATURE-----

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/9041d857-3c35-4fba-8933-ab54580aca9an%40chromium.org.

Yoav Weiss

unread,
Aug 26, 2021, 2:52:53 AM8/26/21
to Jiewei Qian, blink-dev, Thomas Steiner, handwriti...@google.com
LGTM to continue experimenting M95-M97

On Thu, Aug 26, 2021 at 8:04 AM Jiewei Qian <q...@chromium.org> wrote:
I'll update Web developer signal to positive.

We have developers using OT, their feedback is: "Moderately easy" to use and "Extremely likely" to keep using. I haven't seen comments on changing the API design to better support their use cases.

Sounds promising!
 

On Thu, Aug 26, 2021 at 12:26 AM Yoav Weiss <yoav...@chromium.org> wrote:


On Monday, August 23, 2021 at 8:43:49 AM UTC+2 Thomas Steiner wrote:

It might be a good idea to start drafting a spec..
Reply all
Reply to author
Forward
0 new messages