OpenCV ====== ArGaze provides a ready-made contexts to process cursor position over Open CV window and process movie images. 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). ## Cursor ::: argaze.utils.contexts.OpenCV.Cursor ### JSON sample ```json { "argaze.utils.contexts.OpenCV.Cursor": { "name": "Open CV cursor", "pipeline": ... } } ``` ## Movie ::: argaze.utils.contexts.OpenCV.Movie ### JSON sample ```json { "argaze.utils.contexts.OpenCV.Movie": { "name": "Open CV movie", "path": "./src/argaze/utils/demo/tobii_record/segments/1/fullstream.mp4", "pipeline": ... } } ``` ## Camera ::: argaze.utils.contexts.OpenCV.Camera ### JSON sample ```json { "argaze.utils.contexts.OpenCV.Camera": { "name": "Open CV camera", "identifier": 0, "pipeline": ... } } ```