aboutsummaryrefslogtreecommitdiff
path: root/src/argaze/utils/demo_data/demo_gaze_analysis_setup.json
blob: 414a6fe11f334f154849acc45bffb62b905db644 (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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
    "name": "ArFrame Demo",
    "size": [1920, 1149],
    "background": "frame_background.jpg",
    "gaze_movement_identifier": {
        "DispersionThresholdIdentification": {
            "deviation_max_threshold": 50,
            "duration_min_threshold": 200
        }
    },
    "scan_path": {
        "duration_max": 10000
    },
    "scan_path_analyzers": {
        "Basic": {},
        "KCoefficient": {},
        "NearestNeighborIndex": {
            "size": [1920, 1149]
        },
        "ExploitExploreRatio": {
            "short_fixation_duration_threshold": 0
        }
    },
    "heatmap": {
        "size": [320, 240]
    },
    "layers": {
        "GrayRectangle": {
            "aoi_scene": "aoi_3d_scene.obj",
            "aoi_matcher": {
                "DeviationCircleCoverage": {
                    "exclude": ["GrayRectangle"],
                    "coverage_threshold": 0.5
                }
            },
            "aoi_scan_path": {
                "duration_max": 30000
            },
            "aoi_scan_path_analyzers": {
                "Basic": {},
                "TransitionMatrix": {},
                "KCoefficient": {},
                "LempelZivComplexity": {},
                "NGram": {
                    "n_min": 3,
                    "n_max": 3
                },
                "Entropy":{}
            }
        }
    },
    "image_parameters": {
        "background_weight": 1,
        "heatmap_weight": 0.5, 
        "draw_scan_path": {
            "draw_fixations": {
                "deviation_circle_color": [255, 0, 255],
                "duration_border_color": [127, 0, 127],
                "duration_factor": 1e-2
            }, 
            "draw_saccades": {
                "line_color": [255, 0, 255]
            },
            "deepness": 0
        },
        "draw_layers": {
            "GrayRectangle": {
                "draw_aoi_scene": {
                    "draw_aoi": {
                        "color": [255, 255, 255],
                        "border_size": 1
                    }
                },
                "draw_aoi_matching": {
                    "draw_matched_fixation": {
                        "deviation_circle_color": [255, 255, 255]
                    },
                    "draw_matched_fixation_positions": {
                        "position_color": [0, 255, 255],
                        "line_color": [0, 0, 0]
                    },
                    "draw_matched_region": {
                        "color": [0, 255, 0],
                        "border_size": 4
                    }, 
                    "draw_looked_aoi": {
                        "color": [0, 255, 0],
                        "border_size": 2
                    },
                    "looked_aoi_name_color": [255, 255, 255],
                    "looked_aoi_name_offset": [0, -10]
                }
            }
        }, 
        "draw_gaze_positions": {
            "color": [0, 255, 255],
            "size": 2
        }
    }
}