Skip to content

Commit

Permalink
Merge pull request opencv#23583 from siilats:patch-3
Browse files Browse the repository at this point in the history
Update aruco_detect_board_charuco.py
  • Loading branch information
asmorkalov authored May 10, 2023
2 parents 4ed0741 + 97d7a4a commit e5e4424
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samples/python/aruco_detect_board_charuco.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def main():
sys.exit()
width = args.w
height = args.h
sqruare_len = args.sl
square_len = args.sl
marker_len = args.ml
dict = args.d
video = args.v
Expand All @@ -66,7 +66,7 @@ def main():

aruco_dict = cv.aruco.getPredefinedDictionary(dict)
board_size = (width, height)
board = cv.aruco.CharucoBoard(board_size, sqruare_len, marker_len, aruco_dict)
board = cv.aruco.CharucoBoard(board_size, square_len, marker_len, aruco_dict)
charuco_detector = cv.aruco.CharucoDetector(board)

image = None
Expand Down

0 comments on commit e5e4424

Please sign in to comment.