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

Is it possible to have only some parts of the body? #17

Closed
marmg opened this issue Jun 5, 2020 · 1 comment
Closed

Is it possible to have only some parts of the body? #17

marmg opened this issue Jun 5, 2020 · 1 comment

Comments

@marmg
Copy link

marmg commented Jun 5, 2020

Hi,

I would like to use this but only with hands/feet, is it possible to have only these parts of the body?

Thanks!

@nghorbani
Copy link
Owner

nghorbani commented May 13, 2021

if you still need it here you can find the indices for various body parts of SMPLH model:
part2vids.zip
and a visualization:
part2vids
this is a partial snippet to produce the image:
`

from psbody.mesh.meshviewer import MeshViewer

mv = MeshViewer(keepalive=True)

meshes = [Mesh(v=body_v[part2vids[partname]], f=[], vc=part_vc) for partname, part_vc in body_part_vc.items()]

mv.set_static_meshes(meshes)

`
I hope this helps.

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

No branches or pull requests

2 participants