akanazawa / hmr

Project page for End-to-end Recovery of Human Shape and Pose
Other
1.54k stars 395 forks source link

Extract 3D Joint positions #90

Closed Shoulder95 closed 5 years ago

Shoulder95 commented 5 years ago

I am trying to achieve something that looks like this gitproblem

I have extracted joints3D and the rotation matrices from theta, but when I plot the points I don't get anything that looks even remotely close to what I get from the figure created by demo.py.

Does anyone have any suggestion to how I could achieve this?

justinmacp commented 5 years ago

Might be a little late.

Essentially you want to take joints3d from demo.py (line 131) and plot that. The connections between joints (edges) would be as follows: edges = [[0,1],[1,2],[2,3],[3,4],[4,5],[2,8],[3,9],[8,9],[6,7],[7,8],[9,10],[10,11],[8,12],[9,12],[12,13],[13,14],[14,15],[14,16],[13,17],[13,18]]

Let me know if you need any further help