diff options
author | Théo de la Hogue | 2023-06-20 10:10:39 +0200 |
---|---|---|
committer | Théo de la Hogue | 2023-06-20 10:10:39 +0200 |
commit | 03a0313ee5bc07b7457f0c4f6e29d3bafd3d1c3c (patch) | |
tree | c043d855c051c622ea0bdb491fa795efc533f54d | |
parent | 3e9944868b1680b66216f373423c8eb7cdcfc31d (diff) | |
download | argaze-03a0313ee5bc07b7457f0c4f6e29d3bafd3d1c3c.zip argaze-03a0313ee5bc07b7457f0c4f6e29d3bafd3d1c3c.tar.gz argaze-03a0313ee5bc07b7457f0c4f6e29d3bafd3d1c3c.tar.bz2 argaze-03a0313ee5bc07b7457f0c4f6e29d3bafd3d1c3c.tar.xz |
First draft to link sub AOIs under a parent AOI.
-rw-r--r-- | src/argaze/ArFeatures.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/argaze/ArFeatures.py b/src/argaze/ArFeatures.py index 0eba2e1..033e290 100644 --- a/src/argaze/ArFeatures.py +++ b/src/argaze/ArFeatures.py @@ -184,6 +184,8 @@ class ArScene(): aoi_scene: AOI 3D scene description that will be projected onto estimated scene once its pose will be estimated : see [project][argaze.ArFeatures.ArScene.project] function below. + aoi_frames: Link sub AOIs to a parent AOI (e.g. AOIFrame). By default all AOIs are linked to orthogonal_projection. + aruco_axis: Optional dictionary to define orthogonal axis where each axis is defined by list of 3 markers identifier (first is origin). \ This pose estimation strategy is used by [estimate_pose][argaze.ArFeatures.ArScene.estimate_pose] function when at least 3 markers are detected. @@ -196,6 +198,7 @@ class ArScene(): aruco_scene: ArUcoScene.ArUcoScene = field(default_factory=ArUcoScene.ArUcoScene) aoi_scene: AOI3DScene.AOI3DScene = field(default_factory=AOI3DScene.AOI3DScene) + aoi_frames: dict = field(default_factory=dict) aruco_axis: dict = field(default_factory=dict) aruco_aoi: dict = field(default_factory=dict) angle_tolerance: float = field(default=0.) @@ -209,6 +212,8 @@ class ArScene(): # Preprocess orthogonal projection to speed up further aruco aoi processings self.__orthogonal_projection_cache = self.orthogonal_projection + print(self.aoi_frames) + def __str__(self) -> str: """ Returns: |