aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/argaze/ArUcoMarkers/ArUcoDetector.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/argaze/ArUcoMarkers/ArUcoDetector.py b/src/argaze/ArUcoMarkers/ArUcoDetector.py
index 2f05098..ff86ee9 100644
--- a/src/argaze/ArUcoMarkers/ArUcoDetector.py
+++ b/src/argaze/ArUcoMarkers/ArUcoDetector.py
@@ -330,8 +330,8 @@ class ArUcoDetector(DataFeatures.PipelineStepObject):
marker.translation = markers_tvecs[i][0]
marker.rotation, _ = cv.Rodrigues(markers_rvecs[i][0])
-
- marker.points = markers_points.reshape(4, 3).dot(marker.rotation) + marker.translation
+ marker.size = size
+ marker.points = markers_points.reshape(4, 3).dot(marker.rotation) - marker.translation
@property
def detected_markers(self) -> dict[ArUcoMarkerType]: