Face & Palm measurement reference code

The HRUM Face & Palm measurement API does not accept photos. Use the code below on the user's device to extract face and hand coordinates, and send a request that contains only the coordinates. The photo never leaves the device. See the docs for request and response details.

Files

Values that must match

FacePalm
modelNameface_landmarkerhand_landmarker
modelVersionfloat16/[email protected]float16/[email protected]
normalizationface-norm-1palm-norm-1
Number of coordinates47821

If any of these differ, the request is returned with 400. Don't use latest in the model URL; use the version-pinned URL from the reference code as is.

Try it yourself

Pick a photo to build a request body. This page does not send anything.



      

License and privacy