Skip to content

Commit d987f18

Browse files
refactor: changing comment style
1 parent 1760894 commit d987f18

File tree

1 file changed

+2
-2
lines changed
  • calibrators/intrinsic_camera_calibrator/intrinsic_camera_calibrator/intrinsic_camera_calibrator/board_detectors

1 file changed

+2
-2
lines changed

calibrators/intrinsic_camera_calibrator/intrinsic_camera_calibrator/intrinsic_camera_calibrator/board_detectors/chessboard_detector.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ def detect(self, img: np.array, stamp: float):
6262
resized_detection = self.resized_detection.value
6363
resized_max_resolution = self.resized_max_resolution.value
6464

65-
def get_roi(corners, frame_shape, padding=120):
66-
"""Region to keep track of the chessboard in the next frame"""
65+
def get_roi(corners, frame_shape, padding = 120):
66+
# Region to keep track of the chessboard in the next frame
6767
x_min, y_min = np.min(corners, axis=0).ravel().astype(int) - padding
6868
x_max, y_max = np.max(corners, axis=0).ravel().astype(int) + padding
6969
x_min, y_min = max(0, x_min), max(0, y_min)

0 commit comments

Comments
 (0)