From 6bdd59c7269b40206c714914198b28e6f7d214d5 Mon Sep 17 00:00:00 2001 From: Théo de la Hogue Date: Mon, 21 Nov 2022 16:59:33 +0100 Subject: Replacing looked by contains_point and look_at by inner_axis. --- src/argaze/GazeFeatures.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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(): -- cgit v1.1