aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThéo de la Hogue2023-10-23 15:06:20 +0200
committerThéo de la Hogue2023-10-23 15:06:20 +0200
commit3a83442c2da865b6307748a2f26c48fa1bb3fbc8 (patch)
tree815184d92a5c044a125a602a8a0515fc4a1c7db0
parentecfbc519e518948078b0831ccd0fa8bb18e439cb (diff)
downloadargaze-3a83442c2da865b6307748a2f26c48fa1bb3fbc8.zip
argaze-3a83442c2da865b6307748a2f26c48fa1bb3fbc8.tar.gz
argaze-3a83442c2da865b6307748a2f26c48fa1bb3fbc8.tar.bz2
argaze-3a83442c2da865b6307748a2f26c48fa1bb3fbc8.tar.xz
Fixing documentation annotation.
-rw-r--r--src/argaze/ArFeatures.py2
-rw-r--r--src/argaze/ArUcoMarkers/ArUcoMarkersGroup.py1
-rw-r--r--src/argaze/DataStructures.py2
3 files changed, 2 insertions, 3 deletions
diff --git a/src/argaze/ArFeatures.py b/src/argaze/ArFeatures.py
index 5b5d418..5ec6b7e 100644
--- a/src/argaze/ArFeatures.py
+++ b/src/argaze/ArFeatures.py
@@ -831,7 +831,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, Exception]:
+ def look(self, timestamp: int|float, gaze_position: GazeFeatures.GazePosition = GazeFeatures.UnvalidGazePosition()) -> Tuple[GazeFeatures.GazePosition, GazeFeatures.GazeMovement, dict, dict, dict, Exception]:
"""
Project gaze position into frame.
diff --git a/src/argaze/ArUcoMarkers/ArUcoMarkersGroup.py b/src/argaze/ArUcoMarkers/ArUcoMarkersGroup.py
index 5cacf09..6ffdae2 100644
--- a/src/argaze/ArUcoMarkers/ArUcoMarkersGroup.py
+++ b/src/argaze/ArUcoMarkers/ArUcoMarkersGroup.py
@@ -440,7 +440,6 @@ class ArUcoMarkersGroup():
Parameters:
draw_axes: draw_axes parameters (if None, no axes drawn)
draw_places: draw_places parameters (if None, no places drawn)
- draw_places_axes: draw_places_axes parameters (if None, no places axes drawn)
"""
# Draw axes if required
diff --git a/src/argaze/DataStructures.py b/src/argaze/DataStructures.py
index b5101b2..9e35dea 100644
--- a/src/argaze/DataStructures.py
+++ b/src/argaze/DataStructures.py
@@ -45,7 +45,7 @@ def as_dict(dataclass_object) -> dict:
# Copy fields values
return {name: vars(dataclass_object)[name] for name in fields_names}
-def module_path(obj):
+def module_path(obj) -> str:
"""
Get object module path.