Skip to content

Latest commit

 

History

History
175 lines (152 loc) · 5.12 KB

joint_order.md

File metadata and controls

175 lines (152 loc) · 5.12 KB

Joint Order (Position & Rotation)

Attention !!!

The orders of joint position and joint angle are different. The details are listed below.

Hand Joint

Joint Position (Hand)

The joint positions are converted to image space (X,Y coordinates are aligned to image, Z coordinates are rescaled accordingly.)

To obtain predicted 3D hand joint position, you can use pred_joints_img in hand-only demo or pred_lhand_joints_img and pred_rhand_joints_img in body-plus-hand demo.

The order of hand joint position is visualized below:

The order of hand joint (position) is listed below:

0 : Wrist
1 : Thumb_00
2 : Thumb_01
3 : Thumb_02
4 : Thumb_03
5 : Index_00
6 : Index_01
7 : Index_02
8 : Index_03
9 : Middle_00
10 : Middle_01
11 : Middle_02
12 : Middle_03
13 : Ring_00
14 : Ring_01
15 : Ring_02
16 : Ring_03
17 : Little_00
18 : Little_01
19 : Little_02
20 : Little_03

Joint Angle (Hand)

To obtain predicted 3D hand joint angles (in angle-axis format), you can use pred_hand_pose in hand-only demo or pred_left_hand_pose pred_right_hand_pose in body-plus-hand demo.

The axis of joint angle is depicted below (right-hand rule):

If the dimension of hand_pose is 45 (15 * 3), then the joint starts from Index_00; otherwise the dimension should be 48 (16 * 3) and the joint starts from wrist (or say, hand global orientation).

The order of hand joint (angle) is listed below:

0 : Wrist
1 : Index_00
2 : Index_01
3 : Index_02
4 : Middle_00
5 : Middle_01
6 : Middle_02
7 : Little_00
8 : Little_01
9 : Little_02
10 : Ring_00
11 : Ring_01
12 : Ring_02
13 : Thumb_00
14 : Thumb_01
15 : Thumb_02

Body Joint

Joint Position (Body)

The joint positions are converted to image space (X,Y coordinates are aligned to image, Z coordinates are rescaled accordingly.)

To obtain predicted 3D body joint position, you can use pred_joints_img in body-only demo or pred_body_joints_img in body-plus-hand demo.

The order of body joint (position) is listed below:

0: OP_Nose
1: OP_Neck
2: OP_R_Shoulder
3: OP_R_Elblow
4: OP_R_Wrist
5: OP_L_Shoulder
6: OP_L_Elbow
7: OP_L_Wrist
8: OP_Middle_Hip
9: OP_R_Hip
10: OP_R_Knee
11: OP_R_Ankle
12: OP_L_Hip
13: OP_L_Knee
14: OP_L_Ankle
15: OP_R_Eye
16: OP_L_Eye
17: OP R_Ear
18: OP_L_Ear
19: OP_L_Big_Toe
20: OP_L_Small_Toe
21: OP_L_Heel
22: OP_R_Big_Toe
23: OP_R_Small_Toe
24: OP_R_Heel
25: R_Ankle
26: R_Knee
27: R_Hip
28: L_Hip
29: L_Knee
30: L_Ankle
31: R_Wrist
32: R_Elbow
33: R_Shoulder
34: L_Shoulder
35: L_Elbow
36: L_Wrist
37: Neck (LSP)
38: Top of Head (LSP)
39: Pelvis (MPII)
40: Thorax (MPII)
41: Spine (H36M)
42: Jaw (H36M)
43: Head (H36M)
44: Nose
45: L_Eye
46: R_Eye
47: L_Ear
48: R_Ear

Joint Angle (Body)

To obtain predicted 3D body joint angles (in angle-axis format), you can use pred_body_pose in body-only demo or pred_body_pose in body-plus-hand demo.

The dimesion should be 72 (24 * 3). It is worth noting that if SMPL-X is used for body module, then the 22-th and 23-th body joint angles are invalid, we keep it for the consistent format with SMPL.

The order of body joint (angle) is listed below:

0: Global
1: L_Hip
2: R_Hip
3: Spine_01
4: L_Knee
5: R_Knee
6: Spine_02
7: L_Ankle
8: R_Ankle
9: Spine_03
10: L_Toe
11: R_Toe
12: Middle_Shoulder
13: L_Clavice
14: R_Clavice
15: Nose
16: L_Shoulder
17: R_Shoulder
18: L_Elbow
19: R_Elbow
20: L_Wrist
21: R_Wrist
22: L_Palm (Invalid for SMPL-X)
23: R_Palm (Invalid for SMPL-X)

License