-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.example.json
54 lines (54 loc) · 1.42 KB
/
config.example.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
{
"model": {
"device": "cuda",
"confidence": 0.3,
"liveness_tick_s": 60,
"fps": 15,
"healthcheck_ping_url": "https://uptimekuma.example.com:9001/api/push/abcdabcd?status=up&msg=OK&ping="
},
"tracker": {
"inactive_track_prune_s": 1
},
"notification_criteria": {
"classification_allowlist": [
"car",
"truck",
"motorcycle",
"bus",
"person",
"bicycle"
],
"min_track_length_s": 1.5,
"min_track_length_s_per_classification": {
"person": 3
},
"track_cel": "track.last_box.b.y > 0.4 && track.movement_vector.length > 0.4 && track.movement_vector.direction < 25 && track.movement_vector.direction > -80"
},
"notifier": {
"server": "https://ntfy.example.com",
"token": "tk_0123456789ABCDEF",
"topic": "driveway-monitor",
"priorities": {
"car": "4",
"truck": "3",
"person": "4"
},
"image_method": "attach"
},
"enrichment": {
"enable": true,
"endpoint": "https://mygpuserver.tailnet-example.ts.net:11434/api/generate",
"model": "llava",
"keep_alive": "60m",
"timeout_s": 5,
"prompt_files": {
"car": "enrichment-prompts/llava_prompt_car.txt",
"truck": "enrichment-prompts/llava_prompt_truck.txt",
"person": "enrichment-prompts/llava_prompt_person.txt"
}
},
"web": {
"port": 5550,
"external_base_url": "https://mymachine.tailnet-example.ts.net:5559"
}
}