-
Notifications
You must be signed in to change notification settings - Fork 44
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
Location of the hip/pelvis joint? #49
Comments
@sk1840939 how about transfering the depth points of all the joints into the real world coordinates then plot in color map? |
The prediction is 3D pose relative to the hip joint and does not include subject location. If you want to plot the trajectory in 3D, you may consider recording the root location in 3D. Then you can add the prediction back to the root location. |
Thank you for your reply!
Can you expand on "recording the root location in 3D"? Is this information that the model already captures in the output from the cascaded-lifter model? Or, is this information I am responsible for generating? |
I guess it's the absolute real world coordinate of hip. So that you only need to add or minus relative depth of other 16points after the net inference. |
This information is generated in this prepare_data_dict method: there is root location in the camera coordinate system EvoSkeleton/libs/dataset/h36m/data_utils.py Line 416 in b2b355f
You can keep these information and use them when you need to visualize the 3D trajectory. |
Thank you! That should solve my issue. Closing the issue, but I will reopen it if there are any related problems. |
Does the 2d-to-3d lifting model actually predict a location for the hip/pelvis joint? OR, does the model predict all of the other 16 joints in relation to the hip joint?
It seems like when we run
UnNormalizeData
inexamples/inference.py
, the first joint location (which corresponds to the hip) is always[0,0,0]
because we are choosing to ignore that joint instats['dim_ignore_3d']
. Is there a way to avoid setting the hip to (0,0,0)?In my use case, I would like to avoid "fixing" or "pinning" a joint to the origin (or any other arbitrary point) for rendering purposes.
The text was updated successfully, but these errors were encountered: