include body parts detail in response
vabarbosa opened this issue · comments
//va commented
currently the /predict
API returns only line segments, but it would be more useful if it also included position and detail for the various body parts detected (i.e., part_id
, score
, x
, y
, part_name
). for example:
{
"status": "ok",
"predictions": [
{
"human_id": 0,
"pose_lines": [
{
"line": [
308,
417,
479,
359
]
}
],
"body_parts": [
{
"part_id": 5,
"part_name": "LShoulder",
"score": 0.1944918930530548,
"x": 479,
"y": 359
}
]
}
]
}