From 3faca406ad798dfecc3f41b8a6b2571777c9d501 Mon Sep 17 00:00:00 2001 From: Damien Mouratille Date: Thu, 11 Apr 2024 11:59:58 +0200 Subject: Add Pupil Invisible documentation --- docs/user_guide/utils/demonstrations_scripts.md | 30 +++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'docs') 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 +``` + -- cgit v1.1 From a78eb410dc5bc744f783ce02fd5be4d630b6d51e Mon Sep 17 00:00:00 2001 From: Théo de la Hogue Date: Wed, 17 Apr 2024 10:47:40 +0200 Subject: Documenting pipe communication. --- docs/user_guide/utils/ready-made_scripts.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'docs') 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. -- cgit v1.1