ROMP icon indicating copy to clipboard operation
ROMP copied to clipboard

Camera Params for pytorch3D

Open simonschoenhofen opened this issue 2 years ago • 1 comments

Hey! Thanks for the great repo!

I am using the simple_romp for SMPL parameters calculation, which works great!

However, in a next step I want to use PyTorch 3D for some further processing. I want to ask how can I use the information from the .npz file to recreate a camera with correct translation and rotation for pytorch3d so it matches the created one here.

I tried a lot but got stuck! Any help would be appreciated.

simonschoenhofen avatar Jul 24 '23 23:07 simonschoenhofen

@simonschoenhofen

To set up proper camera, you should use BEV, which assume a perspective camera. ROMP just use weak perspecive one. We assume that camera is set up at the origin of the coordinate (0,0) and face front with orientation [[1,0,0],[0,1,0],[0,0,1]]. We also assume the FOV is 60 degree for BEV.

Let me know if you have further questions.

Best, Yu

Arthur151 avatar Aug 15 '23 02:08 Arthur151