Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query on Genebody joints description #19

Open
Dipankar1997161 opened this issue Aug 26, 2023 · 0 comments
Open

Query on Genebody joints description #19

Dipankar1997161 opened this issue Aug 26, 2023 · 0 comments

Comments

@Dipankar1997161
Copy link

Dipankar1997161 commented Aug 26, 2023

Hello @generalizable-neural-performer,

I wanted to get something clarified regarding genebody dataset which I wish to use for reconstruction.

  import numpy as np
  with open('/mnt/data/ndip/genebody_barry/param/0353.npy', 'rb') as f:
      data = np.load(f, allow_pickle = True).item()
      smplx = data['smplx']
  l_hand = smplx['left_hand_pose']
  r_hand = smplx['right_hand_pose']
  body = smplx['body_pose'][0]
  jaw = smplx['jaw_pose']
  r_eye = smplx['reye_pose']
  l_eye = smplx['leye_pose']
  kp3d = smplx['keypoints3d']
  joints = np.vstack((body, jaw, r_eye, l_eye, l_hand, r_hand))
  joints.shape

it returns 54 joints in total, body has 21 joints, hands have 15 each and 1 each in the rest.
however, my task is to use smpl keypoints for rendering not smpl-X,

so is there a way to know which joints are used in genebody, so maybe I can pick the correct ones and setup the 24 joints as smpl. Would be great if you can respond

Edit: this is what I understood,
smplbody_no_head = 23 joints (without the head)
smplbody_no_head - last 2 (hand_ends) = 21 joints (gene_body_smpl)
21 + jaw = 22 (smplbody_no_head) + 2*(smplh -> hand joints)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant