Perception

Estimate hand pose

Find hands in an image and get 21 keypoints for each.

View as Markdown
POST/v1/hands

Authorization

Request body

JSON, with Content-Type: application/json.

  • modelstringrequired

    The hand pose model to run. The models for this endpoint are listed below.

  • imagestringrequired

    The image, base64 JPEG or PNG (a data: URL works too). Under 4 MB of base64.

Response

  • idstring

    Unique id of this call, e.g. hnd_48213. It matches the call in your Activity dashboard.

  • modelstring

    The model that answered.

  • backendstring

    "http": the real model ran on a GPU. "simulated": stand-in output of the same shape, as test keys get.

  • sandboxboolean

    true when the call was made with a test key: the output is simulated, nothing ran on a GPU and nothing was charged. Absent otherwise.

  • handsobject[]

    One per hand found.

    Show 4 child attributes
    • sidestring

      "left" or "right".

    • scorenumber

      Confidence, 0–1.

    • boxnumber[4]

      [x0, y0, x1, y1] in pixels.

    • keypointsnumber[][]

      21 [x, y] pixel positions: the wrist, then 4 joints for each finger.

  • usageobject

    What the call cost.

    Show 2 child attributes
    • cost_usdnumber

      Charged to your credits, in US dollars.

    • latency_msinteger

      Time the model took, in milliseconds.

Errors

The errors every endpoint shares: invalid input, keys, credits and cold starts. See Errors.

Models

No model is live for this endpoint yet.

1 more is coming soon. See the models page.