diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/argaze/utils/demo_aruco_markers_run.py | 5 |
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: |