aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorThéo de la Hogue2024-04-03 11:17:26 +0200
committerThéo de la Hogue2024-04-03 11:17:26 +0200
commiteeb95c56961578d705661e6506c98d5b6cdba996 (patch)
treedcfd37233ecffa27b85f813fce3993d6686443f9 /docs
parent9a979238fceb86d3a59a6f2fa1f9146b1313a33b (diff)
downloadargaze-eeb95c56961578d705661e6506c98d5b6cdba996.zip
argaze-eeb95c56961578d705661e6506c98d5b6cdba996.tar.gz
argaze-eeb95c56961578d705661e6506c98d5b6cdba996.tar.bz2
argaze-eeb95c56961578d705661e6506c98d5b6cdba996.tar.xz
Adding new __main__.py script to load ArContext as module function.
Diffstat (limited to 'docs')
-rw-r--r--docs/user_guide/utils/demonstrations_scripts.md6
-rw-r--r--docs/user_guide/utils/ready-made_scripts.md6
2 files changed, 6 insertions, 6 deletions
diff --git a/docs/user_guide/utils/demonstrations_scripts.md b/docs/user_guide/utils/demonstrations_scripts.md
index 026bbef..a162a49 100644
--- a/docs/user_guide/utils/demonstrations_scripts.md
+++ b/docs/user_guide/utils/demonstrations_scripts.md
@@ -14,7 +14,7 @@ Collection of command-line scripts for demonstration purpose.
Load ArFrame with a single ArLayer from **demo_gaze_analysis_setup.json** file then, simulate gaze position using mouse pointer to illustrate gaze features.
```shell
-python ./src/argaze/utils/context_run.py ./src/argaze/utils/demo/opencv_window_context_setup.json
+python -m argaze ./src/argaze/utils/demo/opencv_window_context_setup.json
```
## Tobii Pro Glasses 2
@@ -53,7 +53,7 @@ Edit **tobii_live_stream_context_setup.json** file as below with your own parame
Then, execute this command:
```shell
-python ./src/argaze/utils/context_run.py ./src/argaze/utils/demo/tobii_live_stream_context_setup.json
+python -m argaze ./src/argaze/utils/demo/tobii_live_stream_context_setup.json
```
### Tobii post-processing context
@@ -80,5 +80,5 @@ Edit **tobii_post_processing_context_setup.json** file as below with your own pa
Then, execute this command:
```shell
-python ./src/argaze/utils/context_run.py ./src/argaze/utils/demo/tobii_post_processing_context_setup.json
+python -m argaze ./src/argaze/utils/demo/tobii_post_processing_context_setup.json
```
diff --git a/docs/user_guide/utils/ready-made_scripts.md b/docs/user_guide/utils/ready-made_scripts.md
index 4767969..92a4502 100644
--- a/docs/user_guide/utils/ready-made_scripts.md
+++ b/docs/user_guide/utils/ready-made_scripts.md
@@ -9,12 +9,12 @@ Collection of command-line scripts to provide useful features.
!!! note
*Use -h option to get command arguments documentation.*
-## ArGaze context handler
+## ArContext handler
-Load and execute any ArGaze context from a JSON CONFIGURATION file.
+Load and execute any ArContext from a JSON CONFIGURATION file
```shell
-python ./src/argaze/utils/context_run.py CONFIGURATION
+python -m argaze CONFIGURATION
```
## ArUco markers group exporter