aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThéo de la Hogue2023-07-28 15:23:17 +0200
committerThéo de la Hogue2023-07-28 15:23:17 +0200
commita9323156c2d357d50ae755c57ea9f5265e731d3d (patch)
treeffb262f9ea2ddd00409b3b5cdaa2fb08a13f8497
parentbc92d356e7a5c91c8c89322d40bbbe9bbd294b76 (diff)
downloadargaze-a9323156c2d357d50ae755c57ea9f5265e731d3d.zip
argaze-a9323156c2d357d50ae755c57ea9f5265e731d3d.tar.gz
argaze-a9323156c2d357d50ae755c57ea9f5265e731d3d.tar.bz2
argaze-a9323156c2d357d50ae755c57ea9f5265e731d3d.tar.xz
Updating utils demo scripts.
-rw-r--r--src/argaze/utils/demo_ar_features_run.py2
-rw-r--r--src/argaze/utils/demo_gaze_features_run.py2
2 files changed, 2 insertions, 2 deletions
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
# ...