/
config.json
79 lines (71 loc) · 2.15 KB
/
config.json
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
// Config file for the whole program.
{
// App settings
"ENABLE_CONSOLE": true,
"USE_VSYNC": false,
"START_DISTORTED": false,
// Window settings
"WINDOW": {
"START_WIDTH": 1920, // Initial window width
"START_HEIGHT": 1080, // Initial window height
"START_X": 0, // Starts from the top left corner of the rendering surface, not the whole window
"START_Y": 40, // Starts from the top left corner of the rendering surface, not the whole window
"START_FULLSCREEN": false,
"GUI_SCALE": 1.5, // 1.0 is default scale. Note that this will make text a bit fuzzy
"NEAREST_NEIGHBOR_SCALING": true
},
// Camera settings
"CAMERA": {
"GENERIC": {
"PREFERRED_RES_X": 640,
"PREFERRED_RES_Y": 480
}
},
// OpenCV settings
"OPENCV": {
"USE_OPENCL": true
},
"DEMO_SETTINGS": {
"ACTIVE": false, // If true, system will use the following info to create and display a capture in fullscreen
"CAMERA_MODE": "PS3EYE", // SYSTEM, PS3EYE, PS4EYE, FAKE
"CAMERA_INDEX": 0,
"FAKE_VIDEO_PATH": "video/kitty.MOV" // Only needed in FAKE mode
},
// Configuration for the YOLO object detector (ofxDarknet)
"YOLO": {
// Load on program start
"PRELOAD": false,
// Relative to bin/data/
"BASE_PATH": "data/darknet/",
// Pick one of the configs below
"USED_CONFIG": "TINY_YOLO_VOC",
// Paths are relative to data/data/darknet/
"CONFIGS": {
"YOLO": {
"CFG_FILE": "cfg/yolo.cfg",
"WEIGHTS_FILE": "yolo.weights",
"NAMES_LIST": "cfg/coco.names"
},
"TINY_YOLO": {
"CFG_FILE": "cfg/tiny-yolo.cfg",
"WEIGHTS_FILE": "tiny-yolo.weights",
"NAMES_LIST": "cfg/coco.names"
},
"YOLO_VOC": {
"CFG_FILE": "cfg/yolo-voc.cfg",
"WEIGHTS_FILE": "yolo-voc.weights",
"NAMES_LIST": "cfg/voc.names"
},
"TINY_YOLO_VOC": {
"CFG_FILE": "cfg/tiny-yolo-voc.cfg",
"WEIGHTS_FILE": "tiny-yolo-voc.weights",
"NAMES_LIST": "cfg/voc.names"
},
"YOLO_9K": {
"CFG_FILE": "cfg/yolo9000.cfg",
"WEIGHTS_FILE": "yolo9000.weights",
"NAMES_LIST": "cfg/9k.names"
}
}
}
}