aboutsummaryrefslogtreecommitdiff
path: root/src/argaze/ArUcoMarkers/ArUcoScene.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/argaze/ArUcoMarkers/ArUcoScene.py')
-rw-r--r--src/argaze/ArUcoMarkers/ArUcoScene.py28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/argaze/ArUcoMarkers/ArUcoScene.py b/src/argaze/ArUcoMarkers/ArUcoScene.py
index fc2625d..d069df0 100644
--- a/src/argaze/ArUcoMarkers/ArUcoScene.py
+++ b/src/argaze/ArUcoMarkers/ArUcoScene.py
@@ -160,14 +160,14 @@ class ArUcoScene():
def from_obj(self, obj_filepath: str) -> ArUcoSceneType:
"""Load ArUco scene from .obj file.
- .. note::
- Expected object (o) name format: <DICTIONARY>#<IDENTIFIER>_Marker
+ !!! note
+ Expected object (o) name format: <DICTIONARY>#<IDENTIFIER>_Marker
- .. note::
- All markers have to belong to the same dictionary.
+ !!! note
+ All markers have to belong to the same dictionary.
- .. note::
- Marker normal vectors (vn) expected.
+ !!! note
+ Marker normal vectors (vn) expected.
"""
@@ -354,9 +354,9 @@ class ArUcoScene():
def filter_markers(self, detected_markers: dict) -> Tuple[dict, dict]:
"""Sort markers belonging to the scene from given detected markers dict (cf ArUcoDetector.detect_markers()).
- * **Returns:**
- - dict of markers belonging to this scene
- - dict of remaining markers not belonging to this scene
+ Returns:
+ dict of markers belonging to this scene
+ dict of remaining markers not belonging to this scene
"""
scene_markers = {}
@@ -425,13 +425,13 @@ class ArUcoScene():
except:
self.__translation_cache[B_identifier] = {A_identifier: AB_tvec}
- def check_markers_consistency(self, scene_markers: dict, angle_tolerance: float, distance_tolerance: float) -> Tuple[dict, dict]:
+ def check_markers_consistency(self, scene_markers: dict, angle_tolerance: float, distance_tolerance: float) -> Tuple[dict, dict, dict]:
"""Evaluate if given markers configuration match related places configuration.
- * **Returns:**
- - dict of consistent markers
- - dict of unconsistent markers
- - dict of identified distance or angle unconsistencies and out-of-bounds values
+ Returns:
+ dict of consistent markers
+ dict of unconsistent markers
+ dict of identified distance or angle unconsistencies and out-of-bounds values
"""
consistent_markers = {}