aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorThéo de la Hogue2024-02-07 11:37:13 +0100
committerThéo de la Hogue2024-02-07 11:37:13 +0100
commitf499d6b0438e122ce4d7507185a26940852acd66 (patch)
tree8299f08ba2bba2db910a1c91f7d244cf62e5abbd /docs
parent166027e1de0e6be20db6ca7e1a443b62c6cfa451 (diff)
downloadargaze-f499d6b0438e122ce4d7507185a26940852acd66.zip
argaze-f499d6b0438e122ce4d7507185a26940852acd66.tar.gz
argaze-f499d6b0438e122ce4d7507185a26940852acd66.tar.bz2
argaze-f499d6b0438e122ce4d7507185a26940852acd66.tar.xz
Catching PipelineStepMethod exception then sharing it to observers before to re-raise it.
Diffstat (limited to 'docs')
-rw-r--r--docs/user_guide/gaze_analysis_pipeline/logging.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/user_guide/gaze_analysis_pipeline/logging.md b/docs/user_guide/gaze_analysis_pipeline/logging.md
index 2784856..fae10a6 100644
--- a/docs/user_guide/gaze_analysis_pipeline/logging.md
+++ b/docs/user_guide/gaze_analysis_pipeline/logging.md
@@ -35,7 +35,7 @@ from argaze.utils import UtilsFeatures
class ScanPathAnalysisLogger(DataFeatures.PipelineStepObserver, UtilsFeatures.FileWriter):
- def on_look(self, timestamp, ar_frame):
+ def on_look(self, timestamp, ar_frame, exception):
"""Log scan path metrics.ar_frame"""
if ar_frame.analysis_available:
@@ -75,7 +75,7 @@ from argaze.utils import UtilsFeatures
class AOIScanPathAnalysisLogger(DataFeatures.PipelineStepObserver, UtilsFeatures.FileWriter):
- def on_look(self, timestamp, ar_layer):
+ def on_look(self, timestamp, ar_layer, exception):
"""Log aoi scan path metrics."""
if ar_layer.analysis_available:
@@ -116,7 +116,7 @@ from argaze.utils import UtilsFeatures
class VideoRecorder(DataFeatures.PipelineStepObserver, UtilsFeatures.VideoWriter):
- def on_look(self, timestamp, ar_frame):
+ def on_look(self, timestamp, ar_frame, exception):
"""Record frame image into video file."""
self.write(ar_frame.image())