aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThéo de la Hogue2023-07-05 17:12:26 +0200
committerThéo de la Hogue2023-07-05 17:12:26 +0200
commit0d3eb5a2051cda1e96b7db6d55b5050d535e5368 (patch)
treecdd3353cd2c879429cb7706931cbb64d42d1ef41 /src
parent078cf666c46992765d9aed898a207c464800e934 (diff)
downloadargaze-0d3eb5a2051cda1e96b7db6d55b5050d535e5368.zip
argaze-0d3eb5a2051cda1e96b7db6d55b5050d535e5368.tar.gz
argaze-0d3eb5a2051cda1e96b7db6d55b5050d535e5368.tar.bz2
argaze-0d3eb5a2051cda1e96b7db6d55b5050d535e5368.tar.xz
Showing look data features.
Diffstat (limited to 'src')
-rw-r--r--src/argaze/utils/demo_gaze_features_run.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/argaze/utils/demo_gaze_features_run.py b/src/argaze/utils/demo_gaze_features_run.py
index 4b4dc12..2e6070f 100644
--- a/src/argaze/utils/demo_gaze_features_run.py
+++ b/src/argaze/utils/demo_gaze_features_run.py
@@ -56,7 +56,10 @@ def main():
timestamp = int((time.time() - start_time) * 1e3)
# Project gaze position into frame
- ar_frame.look(timestamp, GazeFeatures.GazePosition((x, y)))
+ ended_gaze_movement, look_at, scan_step_analysis, aoi_scan_step_analysis = ar_frame.look(timestamp, GazeFeatures.GazePosition((x, y)))
+
+ # Do something with look data
+ # ...
except GazeFeatures.AOIScanStepError as e: