aboutsummaryrefslogtreecommitdiff
path: root/docs/user_guide/aruco_markers/markers_pose_estimation.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/user_guide/aruco_markers/markers_pose_estimation.md')
-rw-r--r--docs/user_guide/aruco_markers/markers_pose_estimation.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/user_guide/aruco_markers/markers_pose_estimation.md b/docs/user_guide/aruco_markers/markers_pose_estimation.md
new file mode 100644
index 0000000..2459715
--- /dev/null
+++ b/docs/user_guide/aruco_markers/markers_pose_estimation.md
@@ -0,0 +1,20 @@
+Markers pose estimation
+=======================
+
+After marker detection, it is possible to estimate markers pose in camera axis.
+
+![Pose estimation](../../img/pose_estimation.png)
+
+``` python
+# Estimate markers pose
+aruco_detector.estimate_markers_pose()
+
+# Get pose estimation related to each detected markers
+for marker_id, marker in aruco_detector.detected_markers.items():
+
+ print(f'marker {marker_id} translation: ', marker.translation)
+ print(f'marker {marker_id} rotation: ', marker.rotation)
+
+ # Do something with each marker pose estimation
+ ...
+``` \ No newline at end of file