aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThéo de la Hogue2023-04-25 11:17:12 +0200
committerThéo de la Hogue2023-04-25 11:17:12 +0200
commitac2928becb43ff6b35021dae2df8d1d81a30ec68 (patch)
tree872d7ceea6dd563ca06572681321cde2b401aa40
parent2163b03eb42af05f6cb9ffc167385ac05e67142b (diff)
downloadargaze-ac2928becb43ff6b35021dae2df8d1d81a30ec68.zip
argaze-ac2928becb43ff6b35021dae2df8d1d81a30ec68.tar.gz
argaze-ac2928becb43ff6b35021dae2df8d1d81a30ec68.tar.bz2
argaze-ac2928becb43ff6b35021dae2df8d1d81a30ec68.tar.xz
Drawing marker later.
-rw-r--r--src/argaze/utils/environment_edit.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/argaze/utils/environment_edit.py b/src/argaze/utils/environment_edit.py
index 7a7587f..0093be7 100644
--- a/src/argaze/utils/environment_edit.py
+++ b/src/argaze/utils/environment_edit.py
@@ -151,9 +151,6 @@ def main():
video_frame = current_frame.copy()
- # Draw detected markers
- ar_environment.aruco_detector.draw_detected_markers(video_frame)
-
# Handle marker selection on left click
if len(ar_environment.aruco_detector.detected_markers) > 0:
@@ -296,6 +293,9 @@ def main():
# Draw frame
cv2.imshow(ar_environment.name, video_frame)
+ # Draw detected markers
+ ar_environment.aruco_detector.draw_detected_markers(video_frame)
+
# Draw pointer
gaze_position.draw(video_frame)