aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThéo de la Hogue2022-11-07 23:57:28 +0100
committerThéo de la Hogue2022-11-07 23:57:28 +0100
commit9570c84dc2cc8469b685d01d87577102acc4156f (patch)
tree9b6387e25407597f2aba07d27ce46e11243d7b6b /src
parent0243ed489624cdcd12922304ec398ec4ca9a84bb (diff)
downloadargaze-9570c84dc2cc8469b685d01d87577102acc4156f.zip
argaze-9570c84dc2cc8469b685d01d87577102acc4156f.tar.gz
argaze-9570c84dc2cc8469b685d01d87577102acc4156f.tar.bz2
argaze-9570c84dc2cc8469b685d01d87577102acc4156f.tar.xz
Storing marker points correctly.
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 f5b1715..e55cbb7 100644
--- a/src/argaze/ArUcoMarkers/ArUcoTracker.py
+++ b/src/argaze/ArUcoMarkers/ArUcoTracker.py
@@ -131,7 +131,7 @@ class ArUcoTracker():
if estimate_pose:
marker.translation = markers_tvecs[i][0]
marker.rotation = markers_rvecs[i]
- marker.points = markers_points[i]
+ marker.points = markers_points.reshape(4, 3)
self.__tracked_markers[marker_id] = marker