aboutsummaryrefslogtreecommitdiff
path: root/docs/use_cases/air_controller_gaze_study/context.md
blob: ca9adf7e315603accbcd1c0aea17185b6e850a0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Live streaming context
======================

The context handles incoming eye tracker data before to pass them to a processing pipeline.

## post_processing_context.json

For this use case we need to read Tobii Pro Glasses 2 records: **ArGaze** provides a [ready-made context](../../user_guide/eye_tracking_context/context_modules/tobii_pro_glasses_2.md) class to read data from records made by this device.

While *segment* entries are specific to the [TobiiProGlasses2.PostProcessing](../../argaze.md/#argaze.utils.contexts.TobiiProGlasses2.PostProcessing) class, *name* and *pipeline* entries are part of the parent [ArContext](../../argaze.md/#argaze.ArFeatures.ArContext) class.

```json
{
	"argaze.utils.contexts.TobiiProGlasses2.PostProcessing": {
		"name": "Tobii Pro Glasses 2 post-processing",
		"segment": "/Volumes/projects/fbr6k3e/records/4rcbdzk/segments/1",
		"pipeline": "post_processing_pipeline.json"
	}
}
```

The [post_processing_pipeline.json](pipeline.md) file mentioned aboved is described in the next chapter.