From eeb95c56961578d705661e6506c98d5b6cdba996 Mon Sep 17 00:00:00 2001 From: Théo de la Hogue Date: Wed, 3 Apr 2024 11:17:26 +0200 Subject: Adding new __main__.py script to load ArContext as module function. --- docs/user_guide/utils/demonstrations_scripts.md | 6 +++--- docs/user_guide/utils/ready-made_scripts.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'docs') 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 -- cgit v1.1