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

Poses are camera-to-world? #41

Open
FreemanG opened this issue Apr 26, 2022 · 3 comments
Open

Poses are camera-to-world? #41

FreemanG opened this issue Apr 26, 2022 · 3 comments

Comments

@FreemanG
Copy link

According to your data description:

Poses are camera-to-world, not world-to-camera transformations.

Then why does normalize_cam_dict.py save W2C in the cam_dict? Shouldn't it be C2W (cam to world)?

@Kai-46
Copy link
Owner

Kai-46 commented Apr 27, 2022

You are right! You could get C2W easily by taking the inverse of W2C, and vice versa.

@FreemanG
Copy link
Author

FreemanG commented Apr 29, 2022

So I have to change this line

return np.linalg.inv(C2W)

to

return C2W

Is this right? The experiments seem better so far.

@Kai-46
Copy link
Owner

Kai-46 commented May 20, 2022

Yes, or you could do such matrix inverses while converting the json camera file to text files.

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

2 participants