Skip to content

Predicted parameters of the weak perspective projection #142

@longbowzhang

Description

@longbowzhang

Hi, @akanazawa sorry to bother you.
I am confused w.r.t the predicted parameters of the weak perspective projection.

  1. 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?

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions