aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/argaze/utils/demo_aruco_markers_run.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/argaze/utils/demo_aruco_markers_run.py b/src/argaze/utils/demo_aruco_markers_run.py
index 6c22695..5e1ac2e 100644
--- a/src/argaze/utils/demo_aruco_markers_run.py
+++ b/src/argaze/utils/demo_aruco_markers_run.py
@@ -150,6 +150,11 @@ def main():
# Display scene frame
cv2.imshow(f'{scene_frame.parent.name}:{scene_frame.name}', scene_frame.image())
+ else:
+
+ # Assess visualisation time
+ visualisation_start = time.time()
+
# Stop by pressing 'Esc' key
# NOTE: on MacOS, cv2.waitKey(1) waits ~40ms
if cv2.waitKey(1) == 27: