Add support for polycam (#958)

* Add support for polycam

* Modify blur score

* Support processing zip and add undistort fallback

* Created using Colaboratory

* Update docs

* Update demo.ipynb

* Address comments

* fix lint
This commit is contained in:
Matthew Tancik authored and GitHub committed 2022-11-15 17:55:29 -08:00
1 parent a7b2af185c
commit 95a27ecba5
7 files changed
+341 -73

No files matched your search

@@ -113,9 +113,17 @@ class Nerfstudio(DataParser):
else:
raise ValueError(f"Unknown dataparser split {split}")
if "orientation_override" in meta:
orientation_method = meta["orientation_override"]
CONSOLE.log(f"[yellow] Dataset is overriding orientation method to {orientation_method}")
else:
orientation_method = self.config.orientation_method
poses = torch.from_numpy(np.array(poses).astype(np.float32))
poses = camera_utils.auto_orient_and_center_poses(
poses, method=self.config.orientation_method, center_poses=self.config.center_poses
poses,
method=orientation_method,
center_poses=self.config.center_poses,
)
# Scale poses