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 file. Notice that the pipeline entry is mandatory.
{
JSON sample
"pipeline": ...
}
Read more about ArContext base class in code reference.
Gaze Position Generator
Bases: ArFeatures.ArContext
range: tuple[int, int]
property
writable
Maximal ranges for X and Y axis
JSON sample
{
"argaze.utils.contexts.Random.GazePositionGenerator": {
"name": "Random gaze position generator",
"range": [1280, 720],
"pipeline": ...
}
}