Giter Site home page Giter Site logo

Comments (6)

sunmengnan avatar sunmengnan commented on May 18, 2024

@sk1840939 how about transfering the depth points of all the joints into the real world coordinates then plot in color map?

from evoskeleton.

Nicholasli1995 avatar Nicholasli1995 commented on May 18, 2024

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 in examples/inference.py, the first joint location (which corresponds to the hip) is always [0,0,0] because we are choosing to ignore that joint in stats['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 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.

from evoskeleton.

skumar-ml avatar skumar-ml commented on May 18, 2024

Thank you for your reply!

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.

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?

from evoskeleton.

sunmengnan avatar sunmengnan commented on May 18, 2024

Thank you for your reply!

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.

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.

from evoskeleton.

Nicholasli1995 avatar Nicholasli1995 commented on May 18, 2024

Thank you for your reply!

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.

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?

This information is generated in this prepare_data_dict method: there is root location in the camera coordinate system

train_dict_3d, train_root_positions = postprocess_3d(train_dict_3d)

You can keep these information and use them when you need to visualize the 3D trajectory.

from evoskeleton.

skumar-ml avatar skumar-ml commented on May 18, 2024

Thank you! That should solve my issue. Closing the issue, but I will reopen it if there are any related problems.

from evoskeleton.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.