diff options
author | Théo de la Hogue | 2023-06-07 20:13:40 +0200 |
---|---|---|
committer | Théo de la Hogue | 2023-06-07 20:13:40 +0200 |
commit | 3bf8b12727974095b92db59434012e73266f6af2 (patch) | |
tree | 124b51f85c23760aea44590e8989677c313a485e /docs/user_guide/areas_of_interest/aoi_scene_projection.md | |
parent | 40ceea01f289acabc0badfd09cd593c46aa0b41d (diff) | |
download | argaze-3bf8b12727974095b92db59434012e73266f6af2.zip argaze-3bf8b12727974095b92db59434012e73266f6af2.tar.gz argaze-3bf8b12727974095b92db59434012e73266f6af2.tar.bz2 argaze-3bf8b12727974095b92db59434012e73266f6af2.tar.xz |
Improving cross reference in area of interest section.
Diffstat (limited to 'docs/user_guide/areas_of_interest/aoi_scene_projection.md')
-rw-r--r-- | docs/user_guide/areas_of_interest/aoi_scene_projection.md | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/docs/user_guide/areas_of_interest/aoi_scene_projection.md b/docs/user_guide/areas_of_interest/aoi_scene_projection.md new file mode 100644 index 0000000..a23d069 --- /dev/null +++ b/docs/user_guide/areas_of_interest/aoi_scene_projection.md @@ -0,0 +1,22 @@ +--- +title: AOI scene projection +--- + +AOI scene projection +==================== + +An [AOI3DScene](/argaze/#argaze.AreaOfInterest.AOI3DScene) can be rotated and translated according to a pose estimation before to project it onto camera frame as an [AOI2DScene](/argaze/#argaze.AreaOfInterest.AOI2DScene). + +![AOI projection](../../img/aoi_projection.png) + +``` python +... + +# Assuming pose estimation is done (tvec and rmat) + +# Project AOI 3D scene according pose estimation and camera intrinsic parameters +aoi2D_scene = aoi3D_scene.project(tvec, rmat, aruco_camera.K) + +# Draw AOI 2D scene +aoi2D_scene.draw(frame) +``` |