aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/argaze/ArUcoMarkers/ArUcoTracker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/argaze/ArUcoMarkers/ArUcoTracker.py b/src/argaze/ArUcoMarkers/ArUcoTracker.py
index 7909434..d5c8cea 100644
--- a/src/argaze/ArUcoMarkers/ArUcoTracker.py
+++ b/src/argaze/ArUcoMarkers/ArUcoTracker.py
@@ -171,7 +171,7 @@ class ArUcoTracker():
if estimate_pose:
marker.translation = markers_tvecs[i][0]
- marker.rotation = markers_rvecs[i][0]
+ marker.rotation, _ = cv.Rodrigues(markers_rvecs[i][0])
marker.points = markers_points.reshape(4, 3)
self.__tracked_markers[marker_id] = marker