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 convert the provided poses in traj_w_c.txt to the transforms.json used in Nerfstudio? #45

Open
ZuoJiaxing opened this issue Dec 10, 2023 · 1 comment

Comments

@ZuoJiaxing
Copy link

I follow nerfstudio to convert the provided poses to nerfstudio format with the following:
c2w = read_poses_c2w[idx].reshape((4,4))
# Convert from COLMAP's camera coordinate system to ours
c2w[0:3, 1:3] *= -1
c2w = c2w[np.array([1, 0, 2, 3]), :]
c2w[2, :] *= -1

However, it does not work for nerfstudio. Can you give some hints?

@stavyadatta
Copy link

Hey @ZuoJiaxing , where did you get the "traj_w_c.txt" files in replica dataset?

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