diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/user_guide/utils/demonstrations_scripts.md | 30 | ||||
-rw-r--r-- | docs/user_guide/utils/ready-made_scripts.md | 29 |
2 files changed, 59 insertions, 0 deletions
diff --git a/docs/user_guide/utils/demonstrations_scripts.md b/docs/user_guide/utils/demonstrations_scripts.md index f344eaf..f3f2b9e 100644 --- a/docs/user_guide/utils/demonstrations_scripts.md +++ b/docs/user_guide/utils/demonstrations_scripts.md @@ -84,3 +84,33 @@ Then, execute this command: ```shell python -m argaze ./src/argaze/utils/demo/tobii_post_processing_context.json ``` + +## Pupil Invisible + +### Pupil Invisible live stream context + +!!! note + this demonstration requires to print **A3_demo.pdf** file located in *./src/argaze/utils/demo/* folder on A3 paper sheet. + +Edit **pupillabs_live_stream_context.json** file as below with your own parameters values: + +```json +{ + "argaze.utils.contexts.PupilLabs.LiveStream" : { + "name": "PupilLabs", + "pipeline": "aruco_markers_pipeline.json", + "catch_exceptions": true, + "image_parameters": { + "draw_times": true, + "draw_exceptions": true + } + } +} +``` + +Then, execute this command: + +```shell +python -m argaze ./src/argaze/utils/demo/pupillabs_live_stream_context.json +``` + diff --git a/docs/user_guide/utils/ready-made_scripts.md b/docs/user_guide/utils/ready-made_scripts.md index 92a4502..a7b3057 100644 --- a/docs/user_guide/utils/ready-made_scripts.md +++ b/docs/user_guide/utils/ready-made_scripts.md @@ -17,6 +17,35 @@ Load and execute any ArContext from a JSON CONFIGURATION file python -m argaze CONFIGURATION ``` +### Send command + +Use -p option to enable pipe communication at given address: + +```shell +python -m argaze post_processing_context.json -p /tmp/argaze +``` + +Then, in another console window, you can send any Python command into the pipe. + +For example: + +* Print context: +```shell +echo "print(context)" > /tmp/argaze +``` + +* Pause context processing: + +```shell +echo "context.pause()" > /tmp/argaze +``` + +* Resume context processing: + +```shell +echo "context.resume()" > /tmp/argaze +``` + ## ArUco markers group exporter Detect DICTIONARY and SIZE ArUco markers inside a MOVIE frame then, export detected ArUco markers group as .obj file into an OUTPUT folder. |