aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/argaze/ArUcoMarkers/ArUcoMarker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/argaze/ArUcoMarkers/ArUcoMarker.py b/src/argaze/ArUcoMarkers/ArUcoMarker.py
index 2177186..df82523 100644
--- a/src/argaze/ArUcoMarkers/ArUcoMarker.py
+++ b/src/argaze/ArUcoMarkers/ArUcoMarker.py
@@ -53,7 +53,7 @@ class ArUcoMarker():
"""Draw marker in frame."""
# Draw marker axis if pose has been estimated
- if self.translation.size == 3 and self.rotation.size == 3:
+ if self.translation.size == 3 and self.rotation.size == 9:
cv.drawFrameAxes(frame, numpy.array(K), numpy.array(D), self.rotation, self.translation, self.size)