Skip to content

Commit

Permalink
Update other refs to Dictionary_get
Browse files Browse the repository at this point in the history
  • Loading branch information
e10harvey committed Dec 4, 2024
1 parent 86356aa commit cd78ce7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example/scene_reconstruction/example_make_aruco_markers.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def make_aruco_images(save_path: str, number: str, size: int = 500, padding: int
Size of white border, pixels, by default 50
"""
# Define marker parameters
dictionary = aruco.Dictionary_get(aruco.DICT_4X4_1000)
dictionary = aruco.getPredefinedDictionary(aruco.DICT_4X4_1000)
side_pixels = size # Side width
font_thickness = 2
pad_width = padding
Expand Down
2 changes: 1 addition & 1 deletion opencsp/common/lib/deflectometry/ImageProjection.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ def __init__(self, root: tkinter.Tk, display_data: ImageProjectionData) -> 'Imag
self.canvas.configure(background='black', highlightthickness=0)

# Save aruco marker dictionary for calibration image generation
self.aruco_dictionary = aruco.Dictionary_get(aruco.DICT_4X4_1000)
self.aruco_dictionary = aruco.getPredefinedDictionary(aruco.DICT_4X4_1000)

# Save active area data
self._x_active_1: int
Expand Down

0 comments on commit cd78ce7

Please sign in to comment.