Skip to content

Commit

Permalink
Fix for opencv 4.7
Browse files Browse the repository at this point in the history
  • Loading branch information
dbaldwin committed May 15, 2023
1 parent 10a2c15 commit 6ff2cb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/aruco.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ class Aruco(object):

# Initialize ArUco
def __init__(self):
self.aruco_dict = aruco.Dictionary_get(aruco.DICT_ARUCO_ORIGINAL)
self.parameters = aruco.DetectorParameters_create()
self.aruco_dict = aruco.getPredefinedDictionary(aruco.DICT_ARUCO_ORIGINAL)
self.parameters = aruco.DetectorParameters()

# Do ArUco marker detection
def detect_markers(self, frame):
Expand Down

0 comments on commit 6ff2cb9

Please sign in to comment.