Skip to content

How to use pred_keypoints_3d #5

@atonalfreerider

Description

@atonalfreerider

Thank you for creating this package. I am able to run my own script and get hand data.

I am graphing my own hands in Unity and I am saving the WiLoR output to a json. I have these values for each hand from wilor_preds:

'global_orient' (1,1,3)
'hand_pose' (1,15,3)
'betas' (1,10)
'pred_cam' (1,3)
'pred_keypoints_3d' (1,21,3)
'pred_vertices' (1,778,3)
'pred_cam_t_full' (1,3)
'scaled_focal_length' float64
'pred_keypoints_2d (1,21,2)

The value pred_keypoints_3d gives me points that I can use to draw a 3d hand in Unity, but the points are fixed near the origin. I can't tell if global_orient is an Euler rotation or how to use it. Do the hands get translated relative to the camera via pred_cam_t_full?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions