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

TXT file in Human3.6m #55

Open
RuipengZhang118 opened this issue Apr 6, 2019 · 4 comments
Open

TXT file in Human3.6m #55

RuipengZhang118 opened this issue Apr 6, 2019 · 4 comments
Labels

Comments

@RuipengZhang118
Copy link

Hello, first of all, thank you very much for your open source code. I am a newcomer to research. Can you ask some questions? What is stored in each frame of each TXT file in Human3.6m? I am a bit confused about what is the mathematical meaning, why can I remove some data directly? thank you very much.

@una-dinosauria
Copy link
Owner

Hi @RuipengZhang118,

The file contains the Euler angle representation of a kinematic tree that represents the human body. With these transformations and a list of bone lengths, you can represent a pose and with a series you can represent motion.

If you are not familiar with kinematic trees, understanding this function

def fkl( angles, parent, offset, rotInd, expmapInd ):
"""
Convert joint angles and bone lenghts into the 3d points of a person.
Based on expmap2xyz.m, available at
https://github.com/asheshjain399/RNNexp/blob/7fc5a53292dc0f232867beb66c3a9ef845d705cb/structural_rnn/CRFProblems/H3.6m/mhmublv/Motion/exp2xyz.m
Args
angles: 99-long vector with 3d position and 3d joint angles in expmap format
parent: 32-long vector with parent-child relationships in the kinematic tree
offset: 96-long vector with bone lenghts
rotInd: 32-long list with indices into angles
expmapInd: 32-long list with indices into expmap angles
Returns
xyz: 32x3 3d points that represent a person in 3d space
"""

might be a good place to start.

Cheers,

@RuipengZhang118
Copy link
Author

I already know that every third digit from the seventh to the 99th represents an axis-angle - the process of rigid body rotation, but what does the first six numbers mean? Also how to restore a skeleton that is visible to the naked eye?For example, intuitively use three numbers to represent key point coordinates. I didn't understand your visual code. I hope you can give me some more complete theoretical materials or videos. Thank you again. @una-dinosauria

@liwj812
Copy link

liwj812 commented Dec 30, 2019

I already know that every third digit from the seventh to the 99th represents an axis-angle - the process of rigid body rotation, but what does the first six numbers mean? Also how to restore a skeleton that is visible to the naked eye?For example, intuitively use three numbers to represent key point coordinates. I didn't understand your visual code. I hope you can give me some more complete theoretical materials or videos. Thank you again. @una-dinosauria

Hi @RuipengZhang118 I have the same question right now,have you work out,need your help.

@RuipengZhang118
Copy link
Author

I directly use the author's tools to generate the human skeleton.

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

No branches or pull requests

3 participants