Skip to content

Commit

Permalink
named arguments for clarity.
Browse files Browse the repository at this point in the history
  • Loading branch information
mprib committed Oct 24, 2024
1 parent 9ec7a08 commit 7c7b075
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions caliscope/calibration/charuco.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,10 @@ def board(self):

aruco_length = square_length * self.aruco_scale
# create the board
return cv2.aruco.CharucoBoard(
(self.columns, self.rows),
square_length,
aruco_length,
# property based on dictionary text
self.dictionary_object,
return cv2.aruco.CharucoBoard(size=(self.columns, self.rows),
squareLength= square_length,
markerLength= aruco_length,
dictionary= self.dictionary_object,
)


Expand Down

0 comments on commit 7c7b075

Please sign in to comment.