fixed imports

This commit is contained in:
2025-11-28 19:29:10 +01:00
parent 664abe8d5c
commit d50ebaea28
3 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
import cv2 as cv import cv2 as cv
import numpy as np import numpy as np
from ar_tag_pose.board_pose import BoardPose from ar_tag_pose.board_pose import BoardPose
from ar_tag_pose.types import ARUCO_DICT from ar_tag_pose.aruco_types import ARUCO_DICT
def factory(dict_type: int, board_size: cv.typing.Size, marker_length: float=100.0, marker_sep=10): def factory(dict_type: int, board_size: cv.typing.Size, marker_length: float=100.0, marker_sep=10):
aruco_dict = cv.aruco.getPredefinedDictionary(dict_type) aruco_dict = cv.aruco.getPredefinedDictionary(dict_type)
+1 -1
View File
@@ -1,7 +1,7 @@
import cv2 as cv import cv2 as cv
import numpy as np import numpy as np
from ar_tag_pose.board_pose import BoardPose from ar_tag_pose.board_pose import BoardPose
from ar_tag_pose.types import ARUCO_DICT from ar_tag_pose.aruco_types import ARUCO_DICT
def factory(dict_type: int, board_size: cv.typing.Size, square_length: float = 5.0, marker_length: float = 3.0): def factory(dict_type: int, board_size: cv.typing.Size, square_length: float = 5.0, marker_length: float = 3.0):
aruco_dict = cv.aruco.getPredefinedDictionary(dict_type) aruco_dict = cv.aruco.getPredefinedDictionary(dict_type)