Closed tomayac closed 5 years ago
(Based on discussions with @surma and @reillyeon).
Additionally: Android currently gives you a point for eyes, nose, mouth etc, while MacOS seems* to give you the actual outline. Would be great if I knew this information ahead of time as it might require me to load different code.
(* Not 100% sure as it’s currently broken in Chrome Canary)
Oops, this is actually a duplicate of https://github.com/WICG/shape-detection-api/issues/53. Not sure how I overlooked it, sorry.
Similar to
supportedFormats
inBarcodeDetector
, I would like to motivate a similar feature tentatively namedgetSupportedLandmarks
for theFaceDetector
to communicate to the developer whether or not landmarks like eyes, mouth, nose, etc. are detectable; and if so, which of them.As motivated in https://github.com/WICG/shape-detection-api/issues/54, it should actually be a static method.