From a9323156c2d357d50ae755c57ea9f5265e731d3d Mon Sep 17 00:00:00 2001 From: Théo de la Hogue Date: Fri, 28 Jul 2023 15:23:17 +0200 Subject: Updating utils demo scripts. --- src/argaze/utils/demo_ar_features_run.py | 2 +- src/argaze/utils/demo_gaze_features_run.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/argaze/utils/demo_ar_features_run.py b/src/argaze/utils/demo_ar_features_run.py index 00a035b..c7f7e38 100644 --- a/src/argaze/utils/demo_ar_features_run.py +++ b/src/argaze/utils/demo_ar_features_run.py @@ -49,7 +49,7 @@ def main(): for frame, look_data in ar_environment.look(timestamp, GazeFeatures.GazePosition((x, y))): # Unpack look data - fixation, look_at, scan_step_analysis, aoi_scan_step_analysis, exception = look_data + fixation, scan_step_analysis, aoi_scan_step_analysis, times, exception = look_data # Do something with look data # ... diff --git a/src/argaze/utils/demo_gaze_features_run.py b/src/argaze/utils/demo_gaze_features_run.py index 8f056da..50a6115 100644 --- a/src/argaze/utils/demo_gaze_features_run.py +++ b/src/argaze/utils/demo_gaze_features_run.py @@ -56,7 +56,7 @@ def main(): timestamp = int((time.time() - start_time) * 1e3) # Project gaze position into frame - fixation, look_at, scan_step_analysis, aoi_scan_step_analysis, exception = ar_frame.look(timestamp, GazeFeatures.GazePosition((x, y))) + fixation, scan_step_analysis, aoi_scan_step_analysis, times, exception = ar_frame.look(timestamp, GazeFeatures.GazePosition((x, y))) # Do something with look data # ... -- cgit v1.1