generated from onedr0p/cluster-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.yml
548 lines (537 loc) · 13.4 KB
/
config.yml
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
mqtt:
host: mosquitto.automation.svc.cluster.local
port: 1883
user: '{FRIGATE_MQTT_USERNAME}'
password: '{FRIGATE_MQTT_PASSWORD}'
topic_prefix: frigate
model:
path: plus://e0c3a3c9b1da4582eabe2818f335546f
database:
path: /config/frigate.db
detectors:
coral:
type: edgetpu
device: usb
auth:
enabled: False
trusted_proxies:
- 10.69.0.0/16
- 10.0.80.0/28
ffmpeg:
hwaccel_args: preset-vaapi
live:
height: 720
quality: 1
birdseye:
enabled: True
mode: objects
go2rtc:
streams:
back_deck_main:
- rtsp://{FRIGATE_CAMERA_USER}:{FRIGATE_CAMERA_PASSWORD}@{FRIGATE_BACK_DECK_IP}:554/Streaming/Channels/101/
back_deck_sub:
- rtsp://{FRIGATE_CAMERA_USER}:{FRIGATE_CAMERA_PASSWORD}@{FRIGATE_BACK_DECK_IP}:554/Streaming/Channels/103/
backyard_main:
- rtsp://{FRIGATE_CAMERA_USER}:{FRIGATE_CAMERA_PASSWORD}@{FRIGATE_BACKYARD_IP}:554/Streaming/Channels/101/
backyard_sub:
- rtsp://{FRIGATE_CAMERA_USER}:{FRIGATE_CAMERA_PASSWORD}@{FRIGATE_BACKYARD_IP}:554/Streaming/Channels/103/
bassinet_main:
- rtsp://{FRIGATE_CAMERA_USER}:{FRIGATE_CAMERA_PASSWORD}@{FRIGATE_BASSINET_IP}:554/h264Preview_01_main
bassinet_sub:
- rtsp://{FRIGATE_CAMERA_USER}:{FRIGATE_CAMERA_PASSWORD}@{FRIGATE_BASSINET_IP}:554/h264Preview_01_sub
doorbell_main:
- rtsp://{FRIGATE_CAMERA_USER}:{FRIGATE_CAMERA_PASSWORD}@{FRIGATE_DOORBELL_IP}:554/h264Preview_01_main
doorbell_sub:
- rtsp://{FRIGATE_CAMERA_USER}:{FRIGATE_CAMERA_PASSWORD}@{FRIGATE_DOORBELL_IP}:554/h264Preview_01_sub
front_balcony_main:
- rtsp://{FRIGATE_CAMERA_USER}:{FRIGATE_CAMERA_PASSWORD}@{FRIGATE_FRONT_BALCONY_IP}:554/Streaming/Channels/101/
front_balcony_sub:
- rtsp://{FRIGATE_CAMERA_USER}:{FRIGATE_CAMERA_PASSWORD}@{FRIGATE_FRONT_BALCONY_IP}:554/Streaming/Channels/103/
front_yard_main:
- rtsp://{FRIGATE_CAMERA_USER}:{FRIGATE_CAMERA_PASSWORD}@{FRIGATE_FRONT_YARD_IP}:554/Streaming/Channels/101/
front_yard_sub:
- rtsp://{FRIGATE_CAMERA_USER}:{FRIGATE_CAMERA_PASSWORD}@{FRIGATE_FRONT_YARD_IP}:554/Streaming/Channels/103/
garage_main:
- rtsp://{FRIGATE_CAMERA_USER}:{FRIGATE_CAMERA_PASSWORD}@{FRIGATE_GARAGE_IP}:554/Streaming/Channels/101/
garage_sub:
- rtsp://{FRIGATE_CAMERA_USER}:{FRIGATE_CAMERA_PASSWORD}@{FRIGATE_GARAGE_IP}:554/Streaming/Channels/103/
laundry_main:
- rtsp://{FRIGATE_CAMERA_USER}:{FRIGATE_CAMERA_PASSWORD}@{FRIGATE_LAUNDRY_IP}:554/Streaming/Channels/101/
laundry_sub:
- rtsp://{FRIGATE_CAMERA_USER}:{FRIGATE_CAMERA_PASSWORD}@{FRIGATE_LAUNDRY_IP}:554/Streaming/Channels/103/
livingroom_main:
- rtsp://{FRIGATE_LIVING_ROOM_IP}:554/live0
side_walkway_main:
- rtsp://{FRIGATE_CAMERA_USER}:{FRIGATE_CAMERA_PASSWORD}@{FRIGATE_SIDE_WALKWAY_IP}:554/Streaming/Channels/101/
side_walkway_sub:
- rtsp://{FRIGATE_CAMERA_USER}:{FRIGATE_CAMERA_PASSWORD}@{FRIGATE_SIDE_WALKWAY_IP}:554/Streaming/Channels/103/
utilities_main:
- rtsp://{FRIGATE_CAMERA_USER}:{FRIGATE_CAMERA_PASSWORD}@{FRIGATE_UTILITIES_IP}:554/Streaming/Channels/101/
utilities_sub:
- rtsp://{FRIGATE_CAMERA_USER}:{FRIGATE_CAMERA_PASSWORD}@{FRIGATE_UTILITIES_IP}:554/Streaming/Channels/103/
objects:
filters:
dog:
min_score: .65
threshold: .90
cat:
min_score: .65
threshold: .90
face:
min_score: .7
package:
min_score: .65
threshold: .9
person:
min_score: .65
threshold: .90
car:
min_score: .65
threshold: .90
camera_groups:
front:
icon: LuTreePine
cameras:
- birdseye
- front_balcony
- front_yard
record:
enabled: true
retain:
days: 7
mode: active_objects
detections:
retain:
days: 10
mode: active_objects
alerts:
pre_capture: 5
post_capture: 5
retain:
days: 14
mode: active_objects
cameras:
doorbell:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/doorbell_main
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp://127.0.0.1:8554/doorbell_sub
input_args: preset-rtsp-restream
roles:
- detect
detect:
width: 640
height: 480
fps: 7
objects:
track:
- person
- dog
snapshots:
enabled: True
timestamp: False
bounding_box: True
crop: False
mqtt:
enabled: True
timestamp: False
crop: True
side_walkway:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/side_walkway_main
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp://127.0.0.1:8554/side_walkway_sub
input_args: preset-rtsp-restream
roles:
- detect
detect:
width: 1280
height: 720
fps: 5
objects:
track:
- person
- dog
zones:
walkway:
coordinates: 771,720,464,720,431,428,403,97,522,107
objects:
- person
neighbour_side:
coordinates: 0.453,0.109,0.759,1,1,1,0.732,0.459,0.766,0.25,0.608,0.056
objects:
- person
review:
alerts:
labels:
- person
required_zones:
- walkway
detections:
labels:
- person
required_zones:
- neighbour_side
snapshots:
enabled: True
timestamp: False
bounding_box: True
crop: False
mqtt:
enabled: True
timestamp: False
crop: True
front_balcony:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/front_balcony_main
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp://127.0.0.1:8554/front_balcony_sub
input_args: preset-rtsp-restream
roles:
- detect
detect:
width: 1280
height: 720
fps: 6
objects:
track:
- person
- car
- motorcycle
filters:
car:
mask:
- 414,0,742,0,742,147,596,209,1065,389,590,547,812,720,0,720,0,0
person:
mask:
- 1,0,1,0.433,0.451,0.172,0.201,0.103,0.045,0.183,0,0.219,0,0
- 0.718,0.435,0.711,0.533,0.744,0.565,0.757,0.46
motion:
mask:
- 0.972,0.775,0.962,0.772,0.898,0.934,0.896,0.997,0.999,0.993,1,0.793
- 0.316,0.536,0.464,0.773,0.669,0.624,0.629,0.545,0.509,0.52,0.417,0.51
- 0.406,0.308,0.409,0.43,0.41,0.512,0.514,0.518,0.514,0.291,0.451,0.27
zones:
driveway:
coordinates: 984,428,1280,576,1280,720,834,720,650,580
front_door:
coordinates: 0.14,0.054,0.152,0.219,0.154,0.574,0.073,0.608,0.045,0.09
objects:
- person
review:
alerts:
labels:
- person
- motorcycle
required_zones:
- front_door
- driveway
detections:
labels:
- person
snapshots:
enabled: True
timestamp: False
bounding_box: True
required_zones:
- front_door
- driveway
crop: False
mqtt:
enabled: True
timestamp: False
crop: True
required_zones:
- front_door
- driveway
- front_parking_space
front_yard:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/front_yard_main
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp://127.0.0.1:8554/front_yard_sub
input_args: preset-rtsp-restream
roles:
- detect
detect:
width: 1280
height: 720
fps: 6
objects:
track:
- person
filters:
person:
min_area: 4000
max_area: 50000
mask:
- 44,259,48,336,0,337,0,257
- 756,157,741,221,700,220,722,146
- 303,0,405,0,347,150,283,150
motion:
contour_area: 50
mask:
- 0.757,0.535,0.824,0.654,0.911,0.409,0.904,0.328,0.856,0.303
zones:
driveway:
coordinates: 1004,274,1197,418,1280,504,1256,584,829,266
front_grass:
coordinates: 556,321,629,317,979,720,867,720,560,720,0,720,0,356,75,347
walkway:
coordinates: 876,540,1016,720,1140,720,986,527,803,372,846,321,813,292,700,338,732,379
footpath:
coordinates: 323,69,1280,183,1280,221,963,227,767,229,359,245,0,240,0,91
review:
alerts:
labels:
- person
required_zones:
- walkway
- driveway
- front_grass
detections:
labels:
- person
required_zones:
- footpath
snapshots:
enabled: True
timestamp: False
bounding_box: True
crop: False
mqtt:
enabled: True
timestamp: False
crop: True
required_zones:
- walkway
- driveway
- front_grass
- footpath
garage:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/garage_main
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp://127.0.0.1:8554/garage_sub
input_args: preset-rtsp-restream
roles:
- detect
detect:
width: 1280
height: 720
fps: 5
objects:
track:
- person
- car
- dog
filters:
person:
mask:
- 1170,170,1064,531,967,488,1050,148
zones:
parking_space:
coordinates: 740,150,1024,223,805,515,373,323
review:
alerts:
labels: []
detections:
labels:
- person
- dog
snapshots:
enabled: True
timestamp: False
bounding_box: True
crop: False
mqtt:
enabled: True
timestamp: False
crop: True
backyard:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/backyard_main
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp://127.0.0.1:8554/backyard_sub
input_args: preset-rtsp-restream
roles:
- detect
motion:
mask:
- 0.214,0.806,0.172,0.5,0.217,0.338,0.231,0.26,0.319,0.233,0.403,0.437,0.382,0.645,0.396,0.74,0.388,0.871,0.398,0.946,0.361,0.993,0.18,1
detect:
width: 1280
height: 720
fps: 5
objects:
track:
- person
- dog
filters:
person:
min_area: 5000
max_area: 75000
mask:
- 0.043,0.541,0.169,0.311,0.283,0.283,0.389,0.526,0.403,1,0.08,1
review:
alerts:
labels: []
detections:
labels:
- person
- dog
snapshots:
enabled: True
timestamp: False
bounding_box: True
crop: False
mqtt:
enabled: True
timestamp: False
crop: True
back_deck:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/back_deck_main
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp://127.0.0.1:8554/back_deck_sub
input_args: preset-rtsp-restream
roles:
- detect
detect:
width: 1280
height: 720
fps: 5
objects:
track:
- person
- dog
review:
alerts:
labels: []
detections:
labels:
- person
- dog
snapshots:
enabled: True
timestamp: False
bounding_box: True
crop: False
mqtt:
enabled: True
timestamp: False
crop: True
utilities:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/utilities_main
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp://127.0.0.1:8554/utilities_sub
input_args: preset-rtsp-restream
roles:
- detect
detect:
width: 1280
height: 720
fps: 5
objects:
track:
- person
- dog
filters:
person:
mask:
- 948,0,932,65,848,44,859,0
motion:
mask:
- 1280,0,1280,720,781,720,852,421,955,0
- 727,0,718,48,0,583,0,0
zones:
our_side:
coordinates: 763,720,270,720,827,89,924,116
neighbour_side:
coordinates: 263,720,777,112,624,77,0,720
review:
alerts:
labels:
- person
- dog
required_zones:
- our_side
detections:
labels:
- person
- dog
required_zones:
- neighbour_side
snapshots:
enabled: True
timestamp: False
bounding_box: True
crop: False
mqtt:
enabled: True
timestamp: False
crop: True
required_zones:
- our_side
laundry:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/laundry_main
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp://127.0.0.1:8554/laundry_sub
input_args: preset-rtsp-restream
roles:
- detect
detect:
width: 1280
height: 720
fps: 5
objects:
track:
- person
- dog
filters:
person:
mask:
- 0.641,0.876,0.641,0.997,0.999,0.997,0.999,0.356,0.928,0.369,0.849,0.606,0.763,0.642,0.717,0.791
snapshots:
enabled: True
timestamp: False
bounding_box: True
crop: False
review:
detections:
labels:
- person
- dog
mqtt:
enabled: True
timestamp: False
crop: True