From 3bf8b12727974095b92db59434012e73266f6af2 Mon Sep 17 00:00:00 2001 From: Théo de la Hogue Date: Wed, 7 Jun 2023 20:13:40 +0200 Subject: Improving cross reference in area of interest section. --- .../areas_of_interest/aoi_scene_projection.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 docs/user_guide/areas_of_interest/aoi_scene_projection.md (limited to 'docs/user_guide/areas_of_interest/aoi_scene_projection.md') 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) +``` -- cgit v1.1