aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/argaze/GazeFeatures.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/argaze/GazeFeatures.py b/src/argaze/GazeFeatures.py
index a7f0f11..33c10db 100644
--- a/src/argaze/GazeFeatures.py
+++ b/src/argaze/GazeFeatures.py
@@ -421,7 +421,7 @@ class PointerBasedVisualScan(VisualScanGenerator):
for name, aoi in aoi_scene_current.items():
- looked = aoi.looked(gaze_position)
+ looked = aoi.contains_point(gaze_position)
if looked:
@@ -435,7 +435,7 @@ class PointerBasedVisualScan(VisualScanGenerator):
# store where the aoi is looked for 4 corners aoi
if len(aoi) == 4:
- self.__step_dict[name]['look_at'][round(ts_current)] = aoi.look_at(gaze_position)
+ self.__step_dict[name]['look_at'][round(ts_current)] = aoi.inner_axis(gaze_position)
elif name in self.__step_dict.keys():