aboutsummaryrefslogtreecommitdiff
path: root/src/argaze/utils/demo/aruco_markers_pipeline.json
blob: 48071aba3a118771146d684c917962bd067f2f56 (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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
    "argaze.ArUcoMarker.ArUcoCamera.ArUcoCamera": {
        "name": "Head-mounted camera",
        "size": [1920, 1080],
        "aruco_detector": {
            "dictionary": "DICT_APRILTAG_16h5",
            "parameters": {
                "useAruco3Detection": 1
            }
        },
        "sides_mask": 420,
        "layers": {
            "demo_layer": {}
        },
        "image_parameters": {
            "background_weight": 1,
            "draw_layers": {
                "demo_layer": {
                    "draw_aoi_scene": {
                        "draw_aoi": {
                            "color": [255, 255, 255],
                            "border_size": 1
                        }
                    }
                }
            }, 
            "draw_gaze_positions": {
                "color": [0, 255, 255],
                "size": 4
            },
            "draw_detected_markers": {
                "color": [0, 255, 0],
                "draw_axes": {
                    "thickness": 3
                }
            },
            "draw_scenes": {
                "demo_scene": {
                    "draw_aruco_markers_group": {
                        "draw_axes": {
                            "thickness": 3,
                            "length": 10
                        }
                    }
                }   
            }
        },
        "scenes": {
            "demo_scene" : {
                "aruco_markers_group": "aruco_markers_group.json",
                "layers": {
                    "demo_layer" : {
                        "aoi_scene": "aoi_3d_scene.obj"
                    }
                },
                "frames": {
                    "GrayRectangle": {
                        "size": [1920, 1149],
                        "background": "frame_background.jpg",
                        "gaze_movement_identifier": {
                            "argaze.GazeAnalysis.DispersionThresholdIdentification.GazeMovementIdentifier": {
                                "deviation_max_threshold": 50,
                                "duration_min_threshold": 200
                            }
                        },
                        "scan_path": {
                            "duration_max": 10000
                        },
                        "layers": {
                            "demo_layer": {
                                "aoi_scene": "aoi_2d_scene.json",
                                "aoi_matcher": {
                                    "argaze.GazeAnalysis.FocusPointInside.AOIMatcher": {}
                                }
                            }
                        },
                        "image_parameters": {
                            "background_weight": 1,
                            "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]
                                }
                            },
                            "draw_layers": {
                                "demo_layer": {
                                    "draw_aoi_scene": {
                                        "draw_aoi": {
                                            "color": [255, 255, 255],
                                            "border_size": 1
                                        }
                                    },
                                    "draw_aoi_matching": {
                                        "draw_looked_aoi": {
                                            "color": [0, 255, 255],
                                            "border_size": 10
                                        },
                                        "looked_aoi_name_color": [255, 255, 255],
                                        "looked_aoi_name_offset": [10, 10]
                                    }
                                }
                            }, 
                            "draw_fixations": {
                                "deviation_circle_color": [255, 255, 255],
                                "duration_border_color": [127, 0, 127],
                                "duration_factor": 1e-2
                            }, 
                            "draw_gaze_positions": {
                                "color": [0, 255, 255],
                                "size": 2
                            }
                        }
                    }
                },
                "angle_tolerance": 15.0,
                "distance_tolerance": 2.54
            }
        }
    }
}