-
Notifications
You must be signed in to change notification settings - Fork 87
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
Conversion Script from SPIN code base to Metadata parameters in Human Nerf! #65
Comments
I don't think that there is a conversion script in this repo. |
I ran the demo code provided by SPIN : https://github.com/nkolot/SPIN/blob/master/demo.py Can you tell me how to get the parameters of body pose and shape, and camera intrinsic and extrinsic parameters from this code? Thanks for the help! |
I did not use SPIN, but rather used VIBE and ROMP, from ROMP you get the poses and shapes in a numpy file. For example, in my case, I am using my own data, so I have my own camera params. But from ROMP you can still get the cams and cams Trans, then set it up according to the file format given in humannerf and you are good to go. Note that these camera params won't be 4x4 matrix ,but would rather give you a 1x3 matrix, so revise it according to your use case |
Hello, Did you use your own camera params and VIBE? |
No, you cannot use your own camera params. |
Thank you for your reply, but I have another question that how to convert the (s,tx,ty) to (tx,ty,tz)? |
Apologies for the late response. Also, here is the code for the conversion ( change the values as per yours )
Then the extrinsic parameters will be: E = [[1, 0, 0, tx], |
Thank you very much! But what is the img_res? There is no img_res in ROMP. It's is the image size? but my image size is (1920,1080), which has two parameters. |
Yess, it's the inage resolution |
which parameter should I choose, 1920 or 1080? |
It's like whichever res you want. Try that, otherwise, calculate the image resolution based on pixels. |
there are few errors in this.
|
OK, I will try it. Thank you very much. |
Sorry, I don't have image. But I successfully render the images until 145000 iterations. I think it benefited by pose correction function in humannerf. Thank you very much! Best wish to you! |
@Dipankar1997161 Hello, How to get the intrinsic parameters in VIBE? Did you mean the config.yaml in config folder? |
I was talking about ROMP, for VIBE I need to check it |
@Dipankar1997161 Hello, how can i get focal_length, or is it just a random value set by myself? |
It is not a random value, depends on which method u using, for example ROMP or VIBE, the focal length is predefined in their Config files. U can check that out. If u using your own device, there is a formula of FOV based on which u calculate the focsl length ( even the ROMP, has the following formula mentioned in their config) |
Thank you for your reply!But i still have a problem where is the config file ,did you mean the files in configs folder?But i didn't find any parameters about focal_length or intrinsic. |
@chungyiweng, could you please provide the script used to obtain the Metadata parameters for the Monocular In-the-wild Videos after you run SPIN?
The text was updated successfully, but these errors were encountered: