Skip to content

Commit

Permalink
fix(intrinsic_camera_calibrator): return correct value
Browse files Browse the repository at this point in the history
Signed-off-by: amadeuszsz <[email protected]>
  • Loading branch information
amadeuszsz committed Nov 20, 2024
1 parent b616831 commit d966e03
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def get_pose(self, model: CameraModel) -> Tuple[np.array, np.array]:
def get_flattened_3d_points(self, model: CameraModel) -> np.array:
"""Get the image points reprojected into camera coordinates in the 3d space as a (M, 3) array."""
if model == self._cached_camera_model and self._cached_flattened_3d_points is not None:
return self._cached_pose
return self._cached_flattened_3d_points

self._cached_camera_model = model

Expand Down

0 comments on commit d966e03

Please sign in to comment.