dust3r
dust3r copied to clipboard
Exporting camera parameters and poses as well as 3D points to COLMAP-style files
Hii guys, has anyone figured out how to export the scene
to NeRFStudio transforms.json or COLMAP-style (Cameras.txt, images.txt, points3D.txt) yet?
I have tried the solution mentioned in this issue #8. I corrected the extrinsics to be the inverse of scene.get_im_poses()
as suggested in this issue. I also saved the point clouds to a .ply file by adding one line after
https://github.com/naver/dust3r/blob/9869e71f9165aa53c53ec0979cea1122a569ade4/dust3r/demo.py#L81
pct.export(os.path.join(outdir, 'scene.ply'))
.
Now I wanted to use the exported transforms.json along with the exported .ply point cloud file to train a splatfacto in NeRFStudio. However, after looking at the Viewer, the point cloud looks correct, but the camera poses are completely off.
I am wondering if anyone has successfully exported these files and verified the correctness in NeRFStudio?
Thanks!