aboutsummaryrefslogtreecommitdiff
path: root/docs/user_guide/ar_environment
diff options
context:
space:
mode:
authorThéo de la Hogue2023-06-21 09:03:41 +0200
committerThéo de la Hogue2023-06-21 09:03:41 +0200
commita594afb5bb17798cd138f1632dcfc53f4eaac09f (patch)
treeac3527627e4171e6fd545c73e0cc81f49dfe6a94 /docs/user_guide/ar_environment
parent0354377903fbc8a828b5735b2d25e1c5bc02c768 (diff)
downloadargaze-a594afb5bb17798cd138f1632dcfc53f4eaac09f.zip
argaze-a594afb5bb17798cd138f1632dcfc53f4eaac09f.tar.gz
argaze-a594afb5bb17798cd138f1632dcfc53f4eaac09f.tar.bz2
argaze-a594afb5bb17798cd138f1632dcfc53f4eaac09f.tar.xz
Replacing frame word by image when it is about drawing or detecting.
Diffstat (limited to 'docs/user_guide/ar_environment')
-rw-r--r--docs/user_guide/ar_environment/environment_exploitation.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/user_guide/ar_environment/environment_exploitation.md b/docs/user_guide/ar_environment/environment_exploitation.md
index f07d150..a4013ea 100644
--- a/docs/user_guide/ar_environment/environment_exploitation.md
+++ b/docs/user_guide/ar_environment/environment_exploitation.md
@@ -4,8 +4,8 @@ Environment exploitation
Once loaded, [ArEnvironment](../../../argaze/#argaze.ArFeatures.ArEnvironment) assets can be exploited as illustrated below:
```python
-# Access to AR environment ArUco detector passing it a frame where to detect ArUco markers
-ar_environment.aruco_detector.detect_markers(frame)
+# Access to AR environment ArUco detector passing it a image where to detect ArUco markers
+ar_environment.aruco_detector.detect_markers(image)
# Access to an AR environment scene
my_first_scene = ar_environment.scenes['my first AR scene']
@@ -15,15 +15,15 @@ try:
# Try to estimate AR scene pose from detected markers
tvec, rmat, consistent_markers = my_first_scene.estimate_pose(ar_environment.aruco_detector.detected_markers)
- # Project AR scene into camera frame according estimated pose
+ # Project AR scene into camera image according estimated pose
# Optional visual_hfov argument is set to 160° to clip AOI scene according a cone vision
aoi2D_scene = my_first_scene.project(tvec, rmat, visual_hfov=160)
# Draw estimated AR scene axis
- my_first_scene.draw_axis(frame)
+ my_first_scene.draw_axis(image)
# Draw AOI2D scene projection
- aoi2D_scene.draw(frame)
+ aoi2D_scene.draw(image)
# Do something with AOI2D scene projection
...