aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThéo de la Hogue2023-09-04 14:49:45 +0200
committerThéo de la Hogue2023-09-04 14:49:45 +0200
commitd3aaac8c0259bd295cd64085f321b9d78eb18ba6 (patch)
tree135d13b13f9a4c70bcdd93ccdd89c9611ec71228 /src
parent01378ae467b6399a13042f02a67010dfc820aee2 (diff)
downloadargaze-d3aaac8c0259bd295cd64085f321b9d78eb18ba6.zip
argaze-d3aaac8c0259bd295cd64085f321b9d78eb18ba6.tar.gz
argaze-d3aaac8c0259bd295cd64085f321b9d78eb18ba6.tar.bz2
argaze-d3aaac8c0259bd295cd64085f321b9d78eb18ba6.tar.xz
Improving annotations.
Diffstat (limited to 'src')
-rw-r--r--src/argaze/ArFeatures.py13
1 files changed, 7 insertions, 6 deletions
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