Request parameter details
Parameter Name | Required or not | Type | Description |
---|---|---|---|
imageUrl | when the imageUrl field exists the imageFile is invalid | string | Full URL of the image, URL length not more than 1024 bytes, URL corresponding image base64 encoded size not more than 4M, shortest side at least 15px, longest side maximum 4096px, support jpg/jpeg/png/bmp format.Please pay attention to closing the URL anti-theft chain. |
imageFile | If you select the imageFile field, do not fill in the imageUrl field | file | Size not more than 4M, shortest side at least 15px, longest side max 4096px, support jpg/jpeg/png/bmp format |
Return to data parameter details
Field | Required or not | Type | Description |
---|---|---|---|
person_num | Required | uint32 | Number of bodies |
person_info | Required | object[] | Human posture information |
+location | Required | object | Human body coordinate information |
++height | Required | float | Height of human body area |
++left | Required | float | Distance of human body area from the left border |
++top | Required | float | Distance of human body area from the upper boundary |
++width | Required | float | Width of human body area |
++score | Required | float | The probability score of the human frame, taking the value 0-1, the closer the score is to 1 means the higher the probability of accurate recognition |
+body_parts | Required | object | Body part information with 21 key points |
++top_head | Required | object | Top of the head |
+++x | Required | float | x coordinate |
+++y | Required | float | y coordinate |
+++score | Required | float | Probability Score |
++left_eye | Required | object | Left Eye |
+++x | Required | float | x coordinate |
+++y | Required | float | y coordinate |
+++score | Required | float | Probability Score |
++right_eye | Required | object | Right Eye |
+++x | Required | float | x coordinate |
+++y | Required | float | y coordinate |
+++score | Required | float | Probability Score |
++nose | Required | object | Nose |
+++x | Required | float | x coordinate |
+++y | Required | float | y coordinate |
+++score | Required | float | Probability Score |
++left_ear | Required | object | Left Ear |
+++x | Required | float | x coordinate |
+++y | Required | float | y coordinate |
+++score | Required | float | Probability Score |
++right_ear | Required | object | Right Ear |
+++x | Required | float | x coordinate |
+++y | Required | float | y coordinate |
+++score | Required | float | Probability Score |
++left_mouth_corner | Required | object | Left corner of the mouth |
+++x | Required | float | x coordinate |
+++y | Required | float | y coordinate |
+++score | Required | float | Probability Score |
++right_mouth_corner | Required | object | Right corner of the mouth |
+++x | Required | float | x coordinate |
+++y | Required | float | y coordinate |
+++score | Required | float | Probability Score |
++neck | Required | object | Neck |
+++x | Required | float | x coordinate |
+++y | Required | float | y coordinate |
+++score | Required | float | Probability Score |
++left_shoulder | Required | object | Left shoulder |
+++x | Required | float | x coordinate |
+++y | Required | float | y coordinate |
+++score | Required | float | Probability Score |
++right_shoulder | Required | object | Right shoulder |
+++x | Required | float | x coordinate |
+++y | Required | float | y coordinate |
+++score | Required | float | Probability Score |
++left_elbow | Required | object | Left elbow |
+++x | Required | float | x coordinate |
+++y | Required | float | y coordinate |
+++score | Required | float | Probability Score |
++right_elbow | Required | object | Right elbow |
+++x | Required | float | x coordinate |
+++y | Required | float | y coordinate |
+++score | Required | float | Probability Score |
++left_wrist | Required | object | Left wrist |
+++x | Required | float | x coordinate |
+++y | Required | float | y coordinate |
+++score | Required | float | Probability Score |
++right_wrist | Required | object | Right wrist |
+++x | Required | float | x coordinate |
+++y | Required | float | y coordinate |
+++score | Required | float | Probability Score |
++left_hip | Required | object | Left hip |
+++x | Required | float | x coordinate |
+++y | Required | float | y coordinate |
+++score | Required | float | Probability Score |
++right_hip | Required | object | Right hip |
+++x | Required | float | x coordinate |
+++y | Required | float | y coordinate |
+++score | Required | float | Probability Score |
++left_knee | Required | object | Left knee |
+++x | Required | float | x coordinate |
+++y | Required | float | y coordinate |
+++score | Required | float | Probability Score |
++right_knee | Required | object | Right knee |
+++x | Required | float | x coordinate |
+++y | Required | float | y coordinate |
+++score | Required | float | Probability Score |
++left_ankle | Required | object | Left ankle |
+++x | Required | float | x coordinate |
+++y | Required | float | y coordinate |
+++score | Required | float | Probability Score |
++right_ankle | Required | object | Right ankle |
+++x | Required | float | x coordinate |
+++y | Required | float | y coordinate |
+++score | Required | float | Probability Score |
Return Example
Single
Multiple people
{
"code": 0,
"data": {
"person_info": [
{
"body_parts": {
"left_ankle": {
"score": 0.8381430506706238,
"x": 1449.810546875,
"y": 959.626953125
},
"left_ear": {
"score": 0.858893632888794,
"x": 1329.712890625,
"y": 183.611328125
},
"left_elbow": {
"score": 0.8272002339363098,
"x": 1486.763671875,
"y": 396.091796875
},
"left_eye": {
"score": 0.8447662591934204,
"x": 1274.283203125,
"y": 202.087890625
},
"left_hip": {
"score": 0.8345778584480286,
"x": 1440.572265625,
"y": 562.380859375
},
"left_knee": {
"score": 0.8377337455749512,
"x": 1422.095703125,
"y": 765.623046875
},
"left_mouth_corner": {
"score": 0.8866880536079407,
"x": 1292.759765625,
"y": 229.802734375
},
"left_shoulder": {
"score": 0.8870329856872559,
"x": 1431.333984375,
"y": 248.279296875
},
"left_wrist": {
"score": 0.8304475545883179,
"x": 1532.955078125,
"y": 497.712890625
},
"neck": {
"score": 0.8572149872779846,
"x": 1338.951171875,
"y": 239.041015625
},
"nose": {
"score": 0.8743098974227905,
"x": 1265.044921875,
"y": 220.564453125
},
"right_ankle": {
"score": 0.853156328201294,
"x": 1385.142578125,
"y": 959.626953125
},
"right_ear": {
"score": 0.6226853132247925,
"x": 1265.044921875,
"y": 211.326171875
},
"right_elbow": {
"score": 0.8553469777107239,
"x": 1274.283203125,
"y": 460.759765625
},
"right_eye": {
"score": 0.8746664524078369,
"x": 1255.806640625,
"y": 192.849609375
},
"right_hip": {
"score": 0.8452845215797424,
"x": 1338.951171875,
"y": 571.619140625
},
"right_knee": {
"score": 0.8600637316703796,
"x": 1357.427734375,
"y": 784.099609375
},
"right_mouth_corner": {
"score": 0.8552960157394409,
"x": 1274.283203125,
"y": 229.802734375
},
"right_shoulder": {
"score": 0.8624213337898254,
"x": 1274.283203125,
"y": 303.708984375
},
"right_wrist": {
"score": 0.854336678981781,
"x": 1265.044921875,
"y": 590.095703125
},
"top_head": {
"score": 0.8527371883392334,
"x": 1274.283203125,
"y": 137.419921875
}
},
"location": {
"height": 945.9656372070312,
"left": 1228.301147460938,
"score": 0.9959762096405029,
"top": 94.54071044921875,
"width": 341.9463500976562
}
},
{
"body_parts": {
"left_ankle": {
"score": 0.8325314521789551,
"x": 686.451171875,
"y": 951.169921875
},
"left_ear": {
"score": 0.7401473522186279,
"x": 656.509765625,
"y": 112.810546875
},
"left_elbow": {
"score": 0.8714978098869324,
"x": 756.314453125,
"y": 362.322265625
},
"left_eye": {
"score": 0.8507311940193176,
"x": 656.509765625,
"y": 122.791015625
},
"left_hip": {
"score": 0.8179113864898682,
"x": 676.470703125,
"y": 522.009765625
},
"left_knee": {
"score": 0.8118884563446045,
"x": 686.451171875,
"y": 731.599609375
},
"left_mouth_corner": {
"score": 0.8746851682662964,
"x": 636.548828125,
"y": 162.712890625
},
"left_shoulder": {
"score": 0.8940856456756592,
"x": 686.451171875,
"y": 232.576171875
},
"left_wrist": {
"score": 0.8317957520484924,
"x": 836.158203125,
"y": 472.107421875
},
"neck": {
"score": 0.8766649961471558,
"x": 576.666015625,
"y": 182.673828125
},
"nose": {
"score": 0.8729854226112366,
"x": 646.529296875,
"y": 142.751953125
},
"right_ankle": {
"score": 0.8061233162879944,
"x": 606.607421875,
"y": 961.150390625
},
"right_ear": {
"score": 0.919266402721405,
"x": 566.685546875,
"y": 112.810546875
},
"right_elbow": {
"score": 0.8276194334030151,
"x": 466.880859375,
"y": 402.244140625
},
"right_eye": {
"score": 0.8708042502403259,
"x": 626.568359375,
"y": 122.791015625
},
"right_hip": {
"score": 0.7861893177032471,
"x": 556.705078125,
"y": 531.990234375
},
"right_knee": {
"score": 0.8584557771682739,
"x": 586.646484375,
"y": 751.560546875
},
"right_mouth_corner": {
"score": 0.8643150329589844,
"x": 616.587890625,
"y": 162.712890625
},
"right_shoulder": {
"score": 0.8405380845069885,
"x": 476.861328125,
"y": 242.556640625
},
"right_wrist": {
"score": 0.770592987537384,
"x": 486.841796875,
"y": 531.990234375
},
"top_head": {
"score": 0.8946510553359985,
"x": 616.587890625,
"y": 42.947265625
}
},
"location": {
"height": 1021.498291015625,
"left": 429.9673767089844,
"score": 0.9929714798927307,
"top": 16.82785034179688,
"width": 464.9845581054688
}
},
{
"body_parts": {
"left_ankle": {
"score": 0.816875159740448,
"x": 1129.484375,
"y": 930.453125
},
"left_ear": {
"score": 0.8412041068077087,
"x": 1135.265625,
"y": 519.984375
},
"left_elbow": {
"score": 0.8617261052131653,
"x": 1198.859375,
"y": 652.953125
},
"left_eye": {
"score": 0.9147307872772217,
"x": 1112.140625,
"y": 508.421875
},
"left_hip": {
"score": 0.8249660134315491,
"x": 1129.484375,
"y": 768.578125
},
"left_knee": {
"score": 0.8480578064918518,
"x": 1141.046875,
"y": 872.640625
},
"left_mouth_corner": {
"score": 0.9063845872879028,
"x": 1106.359375,
"y": 543.109375
},
"left_shoulder": {
"score": 0.8584394454956055,
"x": 1158.390625,
"y": 589.359375
},
"left_wrist": {
"score": 0.7570211887359619,
"x": 1245.109375,
"y": 635.609375
},
"neck": {
"score": 0.8614664077758789,
"x": 1100.578125,
"y": 566.234375
},
"nose": {
"score": 0.8850330710411072,
"x": 1094.796875,
"y": 525.765625
},
"right_ankle": {
"score": 0.8600520491600037,
"x": 1042.765625,
"y": 982.484375
},
"right_ear": {
"score": 0.8221139907836914,
"x": 1060.109375,
"y": 514.203125
},
"right_elbow": {
"score": 0.8499115705490112,
"x": 961.828125,
"y": 560.453125
},
"right_eye": {
"score": 0.8904273509979248,
"x": 1077.453125,
"y": 514.203125
},
"right_hip": {
"score": 0.8489565253257751,
"x": 1060.109375,
"y": 768.578125
},
"right_knee": {
"score": 0.8297137022018433,
"x": 1065.890625,
"y": 872.640625
},
"right_mouth_corner": {
"score": 0.882862389087677,
"x": 1083.234375,
"y": 543.109375
},
"right_shoulder": {
"score": 0.8365781903266907,
"x": 1031.203125,
"y": 577.796875
},
"right_wrist": {
"score": 0.882494330406189,
"x": 892.453125,
"y": 531.546875
},
"top_head": {
"score": 0.8772761821746826,
"x": 1100.578125,
"y": 456.390625
}
},
"location": {
"height": 591.6090698242188,
"left": 836.4093017578125,
"score": 0.9901214241981506,
"top": 435.495849609375,
"width": 453.8210144042969
}
}
],
"person_num": 3
},
"message": "success"
}