aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setup.py2
-rw-r--r--src/argaze/ArUcoMarkers/ArUcoTracker.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/setup.py b/setup.py
index cd46b34..85445f0 100644
--- a/setup.py
+++ b/setup.py
@@ -35,7 +35,7 @@ setup(
packages=find_packages(where='src'),
python_requires='>=3.6, <4',
- install_requires=['opencv-python', 'opencv-contrib-python==4.5.5.62', 'numpy', 'av', 'rtsp', 'pandas', 'matplotlib'],
+ install_requires=['opencv-python', 'opencv-contrib-python==4.6.0.66', 'numpy', 'av', 'rtsp', 'pandas', 'matplotlib'],
project_urls={
'Bug Reports': 'https://git.recherche.enac.fr/projects/argaze/issues',
diff --git a/src/argaze/ArUcoMarkers/ArUcoTracker.py b/src/argaze/ArUcoMarkers/ArUcoTracker.py
index 55166ee..3ce5e2e 100644
--- a/src/argaze/ArUcoMarkers/ArUcoTracker.py
+++ b/src/argaze/ArUcoMarkers/ArUcoTracker.py
@@ -164,7 +164,7 @@ class ArUcoTracker():
for (i, marker_id) in enumerate(self.__markers_ids):
- aruco.drawAxis(frame, self.__camera.get_K(), self.__camera.get_D(), self.__rvecs[i], self.__tvecs[i], self.__marker_length)
+ cv.drawFrameAxes(frame, self.__camera.get_K(), self.__camera.get_D(), self.__rvecs[i], self.__tvecs[i], self.__marker_length)
def draw_board(self, frame):
"""Draw tracked board corners in frame."""