Small improvements and fixes.

This commit is contained in:
Daniel
2025-01-17 16:24:37 +01:00
parent 1bd58deede
commit 8a249a2f16
3 changed files with 40 additions and 11 deletions

View File

@ -253,11 +253,11 @@ def update_keypoints(poses_2d: list, joint_names: List[str]) -> list:
new_body = body[:17]
if whole_body["foots"]:
new_body.extend(body[17:22])
new_body.extend(body[17:23])
if whole_body["face"]:
new_body.extend(body[22:90])
new_body.extend(body[23:91])
if whole_body["hands"]:
new_body.extend(body[90:])
new_body.extend(body[91:])
body = new_body
hlid = joint_names.index("hip_left")