Merge pull request #23583 from siilats:patch-3

Update aruco_detect_board_charuco.py
pull/23600/head
Alexander Smorkalov 2 years ago committed by GitHub
commit e5e4424f11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      samples/python/aruco_detect_board_charuco.py

@ -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
@ -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

Loading…
Cancel
Save