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
|
tz = flength / (0.5 * img_size * cam_s) |
suggests that 0.5 * img_size comes into play, why?
-
This line code
|
vert_shifted = verts + trans |
suggests that verts and trans, which is 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.
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.