emoca
emoca copied to clipboard
Camera Param
I use emoca to reconstruct an image, and get the cam param [9.126064, 0.0031504938, 0.03501865]. I want to know what's these param mean respectively。 Thanks a lot !
Following, interested in the same thing. @RIA1159 Where are you getting the camera params from?
The reconstruct result named 'vals' in https://github.com/radekd91/emoca/blob/fef5472a2fe3c47d8c5ffa56ad13928a790df1ab/gdl_apps/EMOCA/demos/test_emoca_on_images.py#L70 is a dictionary type variable, it contains params like shapes and camera.
@RIA1159
If I do this...
print("vals: " + str(vals)) # Convert vals to a string using str() function
...I get a ton of output. Which part of that are the camera params?
@RIA1159 If I do this...
print("vals: " + str(vals)) # Convert vals to a string using str() function
...I get a ton of output. Which part of that are the camera params? Just print(vals.keys()) And you will see all the keys.
@RIA1159 Thank you, I get it now. I appreciate the help. Let me if you’re able to export the camera to a 3D program like Blender.