-
Notifications
You must be signed in to change notification settings - Fork 391
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
Predicted parameters of the weak perspective projection #142
Comments
Hello, do you know how to use mpi_inf_3dhp_to_tfrecords.py to convert mpi_inf_3dhp dataset? I failed because the code use jpg as input but the dataset I downloaded is consisting of videos. Do I need to use ffmpeg and write code to convert avi to jpg? |
In case some is coming to this issue. Lines 320 to 325 in f149abe
So the predicted s should be rescaled by 0.5 * img_size for the original image.That makes tz = f / (0.5 * img_size * cam_s) . This is a suttle detail.
For the 2nd question, it's in the camera frame which is not consistent with the paper's equation. |
@nnop |
Hi, @akanazawa sorry to bother you.
I am confused w.r.t the predicted parameters of the weak perspective projection.
As you mentioned that scale s that HMR recovers is essentially focal_length/z, but the following line
hmr/src/util/renderer.py
Line 247 in bce0ef9
This line code
hmr/src/util/renderer.py
Line 249 in bce0ef9
trans = np.hstack([cam_pos, tz])
, are in the some but what space?Thus, could you elaborate a little bit on the parameters of this weak perspective projection?
Thanks in advance.
The text was updated successfully, but these errors were encountered: