diff options
author | Théo de la Hogue | 2024-01-29 15:59:14 +0100 |
---|---|---|
committer | Théo de la Hogue | 2024-01-29 15:59:14 +0100 |
commit | 14995f23a9bc6dd1b451c4d04831d95d56119449 (patch) | |
tree | 431f69174afdb87828632c230c36b9fdfc203a70 | |
parent | 99f45a7a7963a7be41f098e5ca1914e00fff45fe (diff) | |
download | argaze-14995f23a9bc6dd1b451c4d04831d95d56119449.zip argaze-14995f23a9bc6dd1b451c4d04831d95d56119449.tar.gz argaze-14995f23a9bc6dd1b451c4d04831d95d56119449.tar.bz2 argaze-14995f23a9bc6dd1b451c4d04831d95d56119449.tar.xz |
Defining estimate_pose and project methods as PipilineStepMethod.
-rw-r--r-- | src/argaze/ArFeatures.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/argaze/ArFeatures.py b/src/argaze/ArFeatures.py index 5951c95..7ca399e 100644 --- a/src/argaze/ArFeatures.py +++ b/src/argaze/ArFeatures.py @@ -1273,6 +1273,7 @@ class ArScene(DataFeatures.PipelineStepObject): **temp_pipeline_step_object_data \ ) + @DataFeatures.PipelineStepMethod def estimate_pose(self, detected_features: any) -> Tuple[numpy.array, numpy.array]: """Define abstract estimate scene pose method. @@ -1286,6 +1287,7 @@ class ArScene(DataFeatures.PipelineStepObject): raise NotImplementedError('estimate_pose() method not implemented') + @DataFeatures.PipelineStepMethod def project(self, tvec: numpy.array, rvec: numpy.array, visual_hfov: float = 0., visual_vfov: float = 0.) -> Iterator[Union[str, AOI2DScene.AOI2DScene]]: """Project layers according estimated pose and optional field of view clipping angles. |