From 3ffafa30ee09b01d15a012ae40458bc21b2739f1 Mon Sep 17 00:00:00 2001 From: Théo de la Hogue Date: Wed, 22 Jun 2022 10:00:33 +0200 Subject: Correcting console output condition. --- src/argaze/utils/export_tobii_segment_aruco_visual_scan.py | 2 +- src/argaze/utils/live_tobii_aruco_aoi_ivy_controller.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/argaze/utils/export_tobii_segment_aruco_visual_scan.py b/src/argaze/utils/export_tobii_segment_aruco_visual_scan.py index c4865f9..b507f0e 100644 --- a/src/argaze/utils/export_tobii_segment_aruco_visual_scan.py +++ b/src/argaze/utils/export_tobii_segment_aruco_visual_scan.py @@ -38,7 +38,7 @@ def main(): if args.segment_path != None: # Manage markers id to track - if args.marker_id_scene != None: + if args.marker_id_scene == None: print(f'Track any Aruco markers from the {args.marker_dictionary} dictionary') else: print(f'Track Aruco markers {args.marker_id_scene.keys()} from the {args.marker_dictionary} dictionary') diff --git a/src/argaze/utils/live_tobii_aruco_aoi_ivy_controller.py b/src/argaze/utils/live_tobii_aruco_aoi_ivy_controller.py index 253ae2d..2218bb5 100644 --- a/src/argaze/utils/live_tobii_aruco_aoi_ivy_controller.py +++ b/src/argaze/utils/live_tobii_aruco_aoi_ivy_controller.py @@ -34,7 +34,7 @@ def main(): args = parser.parse_args() # Manage markers id to track - if args.marker_id_scene != None: + if args.marker_id_scene == None: print(f'Track any Aruco markers from the {args.marker_dictionary} dictionary') else: print(f'Track Aruco markers {args.marker_id_scene.keys()} from the {args.marker_dictionary} dictionary') -- cgit v1.1