From c4552e04e1271a9210a934233beae5be1943d034 Mon Sep 17 00:00:00 2001 From: Théo de la Hogue Date: Wed, 7 Jun 2023 14:34:14 +0200 Subject: Writing User guide and use cases section. --- .../user_guide/areas_of_interest/aoi_projection.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 docs/user_guide/areas_of_interest/aoi_projection.md (limited to 'docs/user_guide/areas_of_interest/aoi_projection.md') diff --git a/docs/user_guide/areas_of_interest/aoi_projection.md b/docs/user_guide/areas_of_interest/aoi_projection.md new file mode 100644 index 0000000..7ffc42d --- /dev/null +++ b/docs/user_guide/areas_of_interest/aoi_projection.md @@ -0,0 +1,22 @@ +--- +title: AOI projection +--- + +AOI projection +============== + +An AOI3D scene can be rotated and translated according to a pose estimation before to project it onto camera frame as an AOI2D scene. + +![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