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

how to derive H_g2cam? #125

Open
hitbuyi opened this issue Feb 16, 2024 · 0 comments
Open

how to derive H_g2cam? #125

hitbuyi opened this issue Feb 16, 2024 · 0 comments

Comments

@hitbuyi
Copy link

hitbuyi commented Feb 16, 2024

in PersFormer.py, how to derive the H_g2cam? what's the definitions of cam and ground respectively?

       # homograph ground to camera
        H_g2cam = np.array([[1,                             0,               0],
                            [0, np.sin(-cam_pitch), args.cam_height],
                            [0, np.cos(-cam_pitch),               0]])
        H_g2cam = torch.from_numpy(H_g2cam).unsqueeze_(0).expand([self.batch_size, 3, 3]).type(torch.FloatTensor)
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

1 participant