WICG / shape-detection-api

Detection of shapes (faces, QR codes) in images
https://wicg.github.io/shape-detection-api
Other
303 stars 35 forks source link

Browser compatability #61

Closed msi-matthew closed 5 years ago

msi-matthew commented 5 years ago

Reading through the issues it looks like Shape Detection API is software compatible on macOS and Android.

screen shot 2019-02-14 at 11 30 47 am

However when trying to run the demo at https://shape-detection-demo.glitch.me/

I get an error in Chrome Version 71.0.3578.98 (Official Build) (64-bit):

screen shot 2019-02-14 at 11 35 35 am

And also on Chrome Version 72.0.3626.105 on Android P:

0

What is the availability of this technology for use in PWAs?

tomayac commented 5 years ago

Have you set the chrome://flags/#enable-experimental-web-platform-features flag? This should fix it.

msi-matthew commented 5 years ago

Yes, that disabled the error.

Is there a plan / path for hardware support?

tomayac commented 5 years ago

Yes, that disabled the error.

By that you mean it works? Great!

Is there a plan / path for hardware support?

For these kind of updates it's probably a good idea to CC: yourself on the implementation bug: https://crbug.com/728474.

msi-matthew commented 5 years ago

By that you mean it works? Great!

Yes, working! It's returning an array of JSON.

For these kind of updates it's probably a good idea to CC: yourself on the implementation bug: https://crbug.com/728474.

Will starring it add me to the cc: list?

tomayac commented 5 years ago

Yes, working! It's returning an array of JSON.

Perfect! To deploy the feature on your site for users who have not set the flag, you can become part of the Origin Trial (be sure to read this in detail) via this sign-up form.

Will starring it add me to the cc: list?

You will be notified about changes, yes.

msi-matthew commented 5 years ago

Great! Thanks for the help today Thomas!