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

Camera Param #59

Open
RIA1159 opened this issue Jul 26, 2023 · 5 comments
Open

Camera Param #59

RIA1159 opened this issue Jul 26, 2023 · 5 comments

Comments

@RIA1159
Copy link

RIA1159 commented Jul 26, 2023

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 !

@emlcpfx
Copy link

emlcpfx commented Jul 28, 2023

Following, interested in the same thing.
@RIA1159 Where are you getting the camera params from?

@RIA1159
Copy link
Author

RIA1159 commented Jul 28, 2023

The reconstruct result named 'vals' in

vals, visdict = test(emoca, batch)
is a dictionary type variable, it contains params like shapes and camera.

@emlcpfx
Copy link

emlcpfx commented Jul 28, 2023

@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
Copy link
Author

RIA1159 commented Jul 28, 2023

@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.

@emlcpfx
Copy link

emlcpfx commented Jul 28, 2023

@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.

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