đŸ”ĸ[developer plan] Tracking keypoints positions

Need to use pass keypoints=true in url params

This part need an API_KEY from a developer plan (50â‚Ŧ / monthly)

Data composition for type: 'keypoints'

{
  type: 'keypoints',
  data: data
}

For each pose, it contains a confidence "score"

Exemple for data values :

data: [
    {
        "y": 79.88263247604766,
        "x": 333.911668619918,
        "score": 0.7134302258491516,
        "name": "nose"
    },
    {
        "y": 73.75016888883947,
        "x": 342.6399577912992,
        "score": 0.6663921475410461,
        "name": "left_eye"
    },
    {
        "y": 73.46655600527369,
        "x": 325.219051996313,
        "score": 0.6033090353012085,
        "name": "right_eye"
    },
    {
        "y": 82.69777331193838,
        "x": 354.00334049798164,
        "score": 0.7936497330665588,
        "name": "left_ear"
    },
    {
        "y": 81.98544064629834,
        "x": 313.99109052069576,
        "score": 0.8201916813850403,
        "name": "right_ear"
    },
    {
        "y": 128.34783510081664,
        "x": 382.0896029208161,
        "score": 0.8617082238197327,
        "name": "left_shoulder"
    },
    {
        "y": 137.95174116838865,
        "x": 290.03119576151613,
        "score": 0.8567412495613098,
        "name": "right_shoulder"
    },
    {
        "y": 204.13934842658512,
        "x": 399.4775647955587,
        "score": 0.8401961326599121,
        "name": "left_elbow"
    },
    {
        "y": 210.62775648860256,
        "x": 277.90723036720533,
        "score": 0.7940345406532288,
        "name": "right_elbow"
    },
    {
        "y": 263.5924560877699,
        "x": 414.6152640667533,
        "score": 0.8729143142700195,
        "name": "left_wrist"
    },
    {
        "y": 280.5058455717644,
        "x": 269.2435656538776,
        "score": 0.846019983291626,
        "name": "right_wrist"
    },
    {
        "y": 266.11688695482485,
        "x": 363.6117216663597,
        "score": 0.8875284194946289,
        "name": "left_hip"
    },
    {
        "y": 266.2904164837682,
        "x": 310.22488161983864,
        "score": 0.7411627769470215,
        "name": "right_hip"
    },
    {
        "y": 363.50887682012626,
        "x": 377.6096601329094,
        "score": 0.7963991165161133,
        "name": "left_knee"
    },
    {
        "y": 368.7131600837219,
        "x": 313.3009251276396,
        "score": 0.6586477756500244,
        "name": "right_knee"
    },
    {
        "y": 444.6143191625713,
        "x": 385.75785725144,
        "score": 0.712445080280304,
        "name": "left_ankle"
    },
    {
        "y": 456.20713512195965,
        "x": 330.8649949766593,
        "score": 0.4600471258163452,
        "name": "right_ankle"
    }
]

Last updated