-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json
24 lines (24 loc) · 1.03 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
{
"version": 0.1,
"user_name": "user",
"camera": 0,
"ear_threashold": 0.24,
"reduce_image": 0.75,
"show_video": 0,
"seconds_to_detect_drowsiness": 2,
"frames_to_calculate_fps": 4,
"keep_log_files_days": 1,
"path_to_logfile": ".",
"wav_file": "alarm.wav",
"detect_on_start": 0,
"camera HELP <not implemented>": "Camera on host. 0 - built-in, 1 - plugged, etc",
"ear_threashold HELP": "Threashold to detect drowsiness. Range [0.1, 0.4]. Step 0.01",
"reduce_image HELP": "Reduce captured image. Must be in [0.25 0.5 0.75 1] -> [worse_quality better_quality]",
"show_video HELP": "1 - show video. 0 - do not",
"seconds_to_detect_drowsiness HELP": "Must be in [1 2 3]",
"frames_to_calculate_fps HELP": "values [4 .. 10]",
"keep_log_files_days HELP <not implemented>": "values [1 .. 365]",
"path_to_logfile HELP <not implemented>": "path to logfile",
"wav_file HELP <not implemented>": "path to alarm audio file",
"detect_on_start HELP": "1 - detect drowsiness. 0 - do not"
}