Code Monkey home page Code Monkey logo

Comments (7)

mks0601 avatar mks0601 commented on August 16, 2024

Yes actually, the code is doing that.
For the SMPL joint set (24 joints):

smpl_mesh_coord, smpl_joint_coord = self.smpl.layer['neutral'](smpl_pose, smpl_shape, smpl_trans)

For the COCO joint set (17 joints):
np.dot(self.coco_joint_regressor, smpl_mesh_cam)

You can projects the 3D coordinates to 2D image space by

smpl_coord_img = cam2pixel(smpl_coord_cam, cam_param['focal'], cam_param['princpt'])

from i2l-meshnet_release.

HyoKong avatar HyoKong commented on August 16, 2024

Thank you very much for your reply!

from i2l-meshnet_release.

HyoKong avatar HyoKong commented on August 16, 2024

Hi, here is another question. I've converted the coco 3d mesh to 3d skeleton. But the style of the coco 3d keypoints is different from the annotation style of H36M. How can convert the coco style to the H36M style?
Thank you very much for your help!

from i2l-meshnet_release.

mks0601 avatar mks0601 commented on August 16, 2024

If you multiply data/Human36M/J_regressor_h36m_correct.npy to mesh, it produces H36M 3D joint coordinates.
If you multiply data/MSCOCO/J_regressor_coco_hip_smpl.npy to mesh, it produces MSCOCO 3D joint coordinates.

from i2l-meshnet_release.

HyoKong avatar HyoKong commented on August 16, 2024

Thank you very much for your help!
How did you obtain the smpl parameters of the MSCOCO train dataset? Could you please share the corresponding code?

from i2l-meshnet_release.

mks0601 avatar mks0601 commented on August 16, 2024

As I wrote in the paper and README, I used SMPLify-X (https://github.com/vchoutas/smplify-x).

from i2l-meshnet_release.

HyoKong avatar HyoKong commented on August 16, 2024

Okay! I'm very grateful for your help!

from i2l-meshnet_release.

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.