aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/user_guide/utils/demonstrations_scripts.md6
-rw-r--r--src/argaze/utils/demo_aruco_markers_run.py (renamed from src/argaze/utils/demo_augmented_reality_run.py)3
-rw-r--r--src/argaze/utils/demo_data/demo_aruco_markers_setup.json (renamed from src/argaze/utils/demo_data/demo_augmented_reality_setup.json)0
3 files changed, 6 insertions, 3 deletions
diff --git a/docs/user_guide/utils/demonstrations_scripts.md b/docs/user_guide/utils/demonstrations_scripts.md
index 1592115..0da09b3 100644
--- a/docs/user_guide/utils/demonstrations_scripts.md
+++ b/docs/user_guide/utils/demonstrations_scripts.md
@@ -17,12 +17,12 @@ Load ArFrame with a single ArLayer from **demo_gaze_analysis_setup.json** file t
python ./src/argaze/utils/demo_gaze_analysis_run.py ./src/argaze/utils/demo_data/demo_gaze_analysis_setup.json
```
-## Augmented reality pipeline demonstration
+## ArUco markers pipeline demonstration
-Load ArCamera from **demo_augmented_reality_setup.json** file then, detect ArUco markers into a demo video source and estimate camera pose.
+Load ArUcoCamera from **demo_aruco_markers_setup.json** file then, detect ArUco markers into a demo video source and estimate camera pose.
```shell
-python ./src/argaze/utils/demo_augmented_reality_run.py ./src/argaze/utils/demo_data/demo_augmented_reality_setup.json -s ./src/argaze/utils/demo_data/demo.mov
+python ./src/argaze/utils/demo_aruco_markers_run.py ./src/argaze/utils/demo_data/demo_aruco_markers_setup.json -s ./src/argaze/utils/demo_data/demo.mov
```
!!! note
diff --git a/src/argaze/utils/demo_augmented_reality_run.py b/src/argaze/utils/demo_aruco_markers_run.py
index c3492b3..dd79569 100644
--- a/src/argaze/utils/demo_augmented_reality_run.py
+++ b/src/argaze/utils/demo_aruco_markers_run.py
@@ -91,6 +91,9 @@ def main():
cv2.rectangle(aruco_camera_image, (0, (i+1)*50), (720, (i+2)*50), (127, 127, 127), -1)
cv2.putText(aruco_camera_image, f'{scene_name} error: {e}', (20, (i+1)*90), cv2.FONT_HERSHEY_SIMPLEX, 1, (0, 255, 255), 1, cv2.LINE_AA)
+ # Write hint
+ cv2.putText(aruco_camera_image, 'Mouve mouse pointer over gray rectangle area', (450, 40), cv2.FONT_HERSHEY_SIMPLEX, 1, (0, 255, 255), 1, cv2.LINE_AA)
+
# Display ArUcoCamera frame image
cv2.imshow(aruco_camera.name, aruco_camera_image)
diff --git a/src/argaze/utils/demo_data/demo_augmented_reality_setup.json b/src/argaze/utils/demo_data/demo_aruco_markers_setup.json
index 3511b98..3511b98 100644
--- a/src/argaze/utils/demo_data/demo_augmented_reality_setup.json
+++ b/src/argaze/utils/demo_data/demo_aruco_markers_setup.json