From d3aaac8c0259bd295cd64085f321b9d78eb18ba6 Mon Sep 17 00:00:00 2001 From: Théo de la Hogue Date: Mon, 4 Sep 2023 14:49:45 +0200 Subject: Improving annotations. --- src/argaze/ArFeatures.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/argaze/ArFeatures.py b/src/argaze/ArFeatures.py index e62fe92..f68fe12 100644 --- a/src/argaze/ArFeatures.py +++ b/src/argaze/ArFeatures.py @@ -833,7 +833,7 @@ class ArFrame(): return self.__ts_logs - def look(self, timestamp: int|float, gaze_position: GazeFeatures.GazePosition = GazeFeatures.UnvalidGazePosition()) -> Tuple[GazeFeatures.GazeMovement, dict, dict, dict]: + def look(self, timestamp: int|float, gaze_position: GazeFeatures.GazePosition = GazeFeatures.UnvalidGazePosition()) -> Tuple[GazeFeatures.GazeMovement, dict, dict, dict, Exception]: """ Project gaze position into frame. @@ -841,14 +841,15 @@ class ArFrame(): Be aware that gaze positions are in the same range of value than size attribute. Parameters: - timestamp: + timestamp: any number used to know when the given gaze position occurs gaze_position: gaze position to project Returns: - identified_gaze_movement: identified gaze movement from incoming consecutive timestamped gaze positions if gaze_movement_identifier is instanciated. Current gaze movement if filter_in_progress_fixation is True. - scan_path_analysis: scan path analysis at each new scan step if scan_path is instanciated - - exception: error catched during gaze position processing + identified_gaze_movement: identified gaze movement from incoming consecutive timestamped gaze positions if gaze_movement_identifier is instanciated. Current gaze movement if filter_in_progress_fixation is False. + scan_path_analysis: scan path analysis at each new scan step if scan_path is instanciated. + layers_analysis: aoi scan path analysis at each new aoi scan step for each instanciated layers aoi scan path. + execution_times: all pipeline steps execution times. + exception: error catched during gaze position processing. """ # Lock frame exploitation -- cgit v1.1