aboutsummaryrefslogtreecommitdiff
path: root/docs/user_guide/eye_tracking_context/context_modules/tobii_pro_glasses_2.md
blob: fba6931ec83cee9d9532e8d8f2bb9f4d68c61014 (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
48
49
50
51
52
53
54
55
56
57
58
59
Tobii Pro Glasses 2
===================

ArGaze provides a ready-made context to work with Tobii Pro Glasses 2 devices.

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).

## Live Stream

::: argaze.utils.contexts.TobiiProGlasses2.LiveStream

### JSON sample

```json
{
	"argaze.utils.contexts.TobiiProGlasses2.LiveStream": {
		"name": "Tobii Pro Glasses 2 live stream",
		"address": "10.34.0.17",
		"project": "my_experiment",
		"participant": "subject-A",
		"configuration": {
			"sys_ec_preset": "Indoor",
			"sys_sc_width": 1920,
			"sys_sc_height": 1080,
			"sys_sc_fps": 25,
			"sys_sc_preset": "Auto",
			"sys_et_freq": 50,
			"sys_mems_freq": 100
		},
		"pipeline": ...
	}
}
```

## Post Processing

::: argaze.utils.contexts.TobiiProGlasses2.PostProcessing

### JSON sample

```json
{
    "argaze.utils.contexts.TobiiProGlasses2.PostProcessing" : {
        "name": "Tobii Pro Glasses 2 post-processing",
        "segment": "./src/argaze/utils/demo/tobii_record/segments/1",
        "pipeline": ...
    }
}
```