vchoutas / smplify-x

Expressive Body Capture: 3D Hands, Face, and Body from a Single Image
https://smpl-x.is.tue.mpg.de/
Other
1.77k stars 340 forks source link

How to somehow combine the mesh .obj file and ..pkl file and original image into one image? #117

Closed JacobLiu-S closed 4 years ago

JacobLiu-S commented 4 years ago

Hi, I have set the argument visualiza=False, and for each image I get a .pkl file and an .obj file. Could you tell me how to get an image like the second row in this figure: image The image above is a screenshot of your paper, so I believe this can be done. Could you help me about this? Thanks in advance.

Anirudh257 commented 4 years ago

@Liuxinyue521 I wrote a code to perform this overlay on a system here: https://github.com/Anirudh257/Render-SMPL-X-mesh-on-system-without-GPU. If you have a GPU on your local system (not server) , you can just set visualize argument to True.

JacobLiu-S commented 4 years ago

Solved by using egl and changing the light.

CrossLee1 commented 4 years ago

Solved by using egl and changing the light.

@Liuxinyue521 Could you provide your code,many thanks~