diff options
author | Théo de la Hogue | 2024-07-03 17:14:43 +0200 |
---|---|---|
committer | Théo de la Hogue | 2024-07-03 17:14:43 +0200 |
commit | 8fc18a434da400f0fe82707e23838d6cc40a787d (patch) | |
tree | 9e42c9f7edb9364e9a0afedab30194820987a907 /docs/user_guide/eye_tracking_context/context_modules/random.md | |
parent | 7b82b09e87d1475acf5040c67323421699a3ad06 (diff) | |
download | argaze-8fc18a434da400f0fe82707e23838d6cc40a787d.zip argaze-8fc18a434da400f0fe82707e23838d6cc40a787d.tar.gz argaze-8fc18a434da400f0fe82707e23838d6cc40a787d.tar.bz2 argaze-8fc18a434da400f0fe82707e23838d6cc40a787d.tar.xz |
Rewriting eye tracking context and gaze analysis sections.
Diffstat (limited to 'docs/user_guide/eye_tracking_context/context_modules/random.md')
-rw-r--r-- | docs/user_guide/eye_tracking_context/context_modules/random.md | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/docs/user_guide/eye_tracking_context/context_modules/random.md b/docs/user_guide/eye_tracking_context/context_modules/random.md new file mode 100644 index 0000000..89d7501 --- /dev/null +++ b/docs/user_guide/eye_tracking_context/context_modules/random.md @@ -0,0 +1,32 @@ +Random +====== + +ArGaze provides a ready-made context to generate random gaze positions. + +To select a desired context, the JSON samples have to be edited and saved inside an [ArContext configuration](../configuration_and_execution.md) file. +Notice that the *pipeline* entry is mandatory. + +```json +{ + JSON sample + "pipeline": ... +} +``` + +Read more about [ArContext base class in code reference](../../../argaze.md/#argaze.ArFeatures.ArContext). + +## Gaze Position Generator + +::: argaze.utils.contexts.Random.GazePositionGenerator + +### JSON sample + +```json +{ + "argaze.utils.contexts.Random.GazePositionGenerator": { + "name": "Random gaze position generator", + "range": [1280, 720], + "pipeline": ... + } +} +``` |