Open HelloEgg opened 3 years ago
You are getting the 3D joints correct. however, looks like there is a a plotting issue. the shoulders look widened because the image is sheered and the aspect ratio is not kept. try playing with a custom 2d joint plotter. leave your code snippet here if you needed help
Hi.
I am trying to extract joint positions from body model. I drew the mesh image and it looked fine. However, getting Jtr return values did not return correct result.
The code that I used is as follows :
`def render_smpl_params(bm, pose_body, pose_hand = None, trans=None, betas=None, root_orient=None): ''' :param bm: pytorch body model with batch_size 1 :param pose_body: Nx21x3 :param trans: Nx3 :param betas: Nxnum_betas :return: N x 400 x 400 x 3 '''
I used jtr from
bm.forward().Jtr
to extract key point. The mesh I got is as followsAnd when I plotted joint position from jtr value, I got this
Where do you think did I got wrong..? How can I directly extract joint positions from body model? I mean, the shoulder looks too large, the legs aren't supposed to be leaning backwards...