Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Using render_smpl to visualize pw3d_test.npz #283

Open
SiriusNEO opened this issue Dec 6, 2022 · 1 comment
Open

Using render_smpl to visualize pw3d_test.npz #283

SiriusNEO opened this issue Dec 6, 2022 · 1 comment

Comments

@SiriusNEO
Copy link

I try to use API render_smpl to visualize the mesh generated by the smpl model stored in pw3d_test.npz.
My method is:

  • Get cam_params from the data
  • Use get_KRT method to get the intrinsic and extrinsic matrices K, R, T
  • Visualize it by calling render_smpl and passing K, R, T to it.

Here is my call:

render_smpl(
            poses=pred_pose,
            betas=pred_beta,
            K=K,
            R=R,
            T=T,
            projection='perspective',
            convention='opencv',
            in_ndc=False,
            output_path=pic_path,
            resolution=resolution,
            body_model_config=body_model_config,
            overwrite=True,
            plot_kps=True,
            frame_list=["tmp.png"]
        )

But my result is not so good:
`PNC(J5R}N_ZE1)UFE5IGA4
What is the problem?

@WenjiaWang0312
Copy link
Collaborator

There will be a detailed instruction in #285

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

No branches or pull requests

2 participants