Skip to content

Commit

Permalink
Merge 6728c07 into fa433dc
Browse files Browse the repository at this point in the history
  • Loading branch information
linjiX committed Nov 14, 2022
2 parents fa433dc + 6728c07 commit 2b5a8d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tensorbay/sensor/intrinsics.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def as_matrix(self) -> np.ndarray:
return np.array(
[
[self.fx, self.skew, self.cx],
[0.0, self.cy, self.cy],
[0.0, self.fy, self.cy],
[0.0, 0.0, 1.0],
]
)
Expand Down
2 changes: 1 addition & 1 deletion tensorbay/sensor/tests/test_intrinsics.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from tensorbay.sensor import CameraIntrinsics, CameraMatrix, DistortionCoefficients

_3x3_MATRIX = [[1, 2, 3], [0, 4, 5], [0, 0, 1]]
_3x3_NUMPY = np.array([[1.0, 2.0, 3.0], [0.0, 5.0, 5.0], [0.0, 0.0, 1.0]])
_3x3_NUMPY = np.array([[1.0, 2.0, 3.0], [0.0, 4.0, 5.0], [0.0, 0.0, 1.0]])

_CAMERA_MATRIX_DATA = {"fx": 2, "fy": 6, "cx": 4, "cy": 7, "skew": 3}

Expand Down

0 comments on commit 2b5a8d1

Please sign in to comment.