Record3D Bugfix: Removing Pose OpenGL Conversion (#521)

* added rescale factor.

* merge and remove opengl conversion.

* quick fix.
This commit is contained in:
Alexander Kristoffersen authored and GitHub committed 2022-10-04 19:01:43 -07:00
1 parent cb056f1dfe
commit f885aba702
1 file changed
-3
@@ -105,9 +105,6 @@ class Record3D(DataParser):
# convert to Tensors
poses = torch.from_numpy(poses[:, :3, :4])
# convert OpenGL to OpenCV coordinate system
poses = poses @ torch.diag(torch.tensor([1.0, -1.0, -1.0, 1.0]))
poses = camera_utils.auto_orient_poses(pose_utils.to4x4(poses), method=self.config.orientation_method)[
:, :3, :4
]