aboutsummaryrefslogtreecommitdiff
path: root/src/argaze/utils/demo_ar_features_run.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/argaze/utils/demo_ar_features_run.py')
-rw-r--r--src/argaze/utils/demo_ar_features_run.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/argaze/utils/demo_ar_features_run.py b/src/argaze/utils/demo_ar_features_run.py
index 6151188..f8158d6 100644
--- a/src/argaze/utils/demo_ar_features_run.py
+++ b/src/argaze/utils/demo_ar_features_run.py
@@ -47,8 +47,11 @@ def main():
# Project gaze position into environment
for frame, look_data in ar_environment.look(timestamp, GazeFeatures.GazePosition((x, y))):
- # Do nothing with look data
- pass
+ # Unpack look data
+ fixation, look_at, scan_step_analysis, aoi_scan_step_analysis = look_data
+
+ # Do something with look data
+ # ...
# Attach mouse callback to window
cv2.setMouseCallback(ar_environment.name, on_mouse_event)