blob: 7244cd47c204665d208a647ff5e92ec0613eb84d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
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 cursor",
"path": "./src/argaze/utils/demo/tobii_record/segments/1/fullstream.mp4",
"pipeline": ...
}
}
```
|