-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathfrigate.yml
317 lines (302 loc) · 6.52 KB
/
frigate.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
mqtt:
host: 172.16.1.121
port: 1883
topic_prefix: frigate
client_id: frigate
user: mqttuser
password: mqttpass
stats_interval: 300
record:
expire_interval: 10
timestamp_style:
format: "%m/%d/%Y %H:%M:%S"
color:
red: 255
green: 255
blue: 255
thickness: 2
effect: shadow
cameras:
driveway:
ffmpeg:
inputs:
- path: rtsp://user:pass@172.16.1.26:554/cam/realmonitor?channel=1&subtype=1
roles:
- detect
- path: rtsp://user:pass@172.16.1.26:554/cam/realmonitor?channel=1&subtype=0
roles:
- record
detect:
width: 640
height: 480
fps: 5
objects:
track:
- person
- dog
- bicycle
- cat
- car
filters:
car:
min_area: 15000
person:
min_area: 500
snapshots:
enabled: true
timestamp: true
bounding_box: true
required_zones:
- drivewayclose_in
- driveway_whole_area
crop: True
height: 500
retain:
default: 3
zones:
drivewayclose_in:
coordinates: 0,480,429,480,443,335,460,173,263,133,88,120,36,212,0,279
objects:
- car
- person
- dog
- cat
- bicycle
driveway_whole_area:
coordinates: 383,52,497,105,569,316,575,480,261,480,0,480,0,225,148,57
objects:
- person
- cat
- dog
- bicycle
motion:
mask:
- 2,465,328,468,330,432,5,431
- 72,43,154,0,0,0,0,129
record:
enabled: True
retain:
days: 0
events:
retain:
default: 5
mode: motion
required_zones:
- drivewayclose_in
- driveway_whole_area
pre_capture: 5
post_capture: 15
front_porch:
ffmpeg:
inputs:
- path: rtsp://user:pass@172.16.1.27:554/cam/realmonitor?channel=1&subtype=0
roles:
- record
- detect
detect:
width: 640
height: 480
fps: 5
stationary:
max_frames:
objects:
person: 100
objects:
track:
- person
- dog
- bicycle
- cat
mask:
- 0,480,198,480,200,449,0,451
- 640,0,640,36,640,111,608,135,485,96,504,0
- 439,200,441,324,512,320,532,261,554,188,540,129,451,134
- 370,0,356,100,291,79,292,0
snapshots:
enabled: true
timestamp: false
bounding_box: false
crop: True
height: 500
required_zones:
- front_porch_close_in
retain:
default: 5
motion:
mask:
- 0,480,198,480,200,449,0,451
- 640,0,640,36,640,111,608,135,485,96,504,0
- 439,200,441,324,512,320,532,261,554,188,540,129,451,134
- 370,0,356,100,291,79,292,0
zones:
front_porch_close_in:
coordinates: 45,480,362,480,640,480,640,213,554,145,525,328,466,343,408,272,348,70,253,64,181,118,67,178
record:
enabled: True
retain:
days: 0
mode: active_objects
events:
retain:
default: 4
mode: active_objects
required_zones:
- front_porch_close_in
pre_capture: 5
post_capture: 15
back_porch:
ffmpeg:
inputs:
- path: rtsp://user:pass@172.16.1.29:554/Streaming/Channels/102
roles:
- detect
- path: rtsp://user:pass@172.16.1.29:554/Streaming/Channels/101
roles:
- record
detect:
width: 640
height: 480
fps: 6
objects:
track:
- person
- dog
- cat
- bird
- mouse
filters:
cat:
min_score: 0.3
threshold: 0.5
dog:
min_score: 0.3
threshold: 0.5
mask:
- 23,480,333,480,333,442,26,440
- 640,95,640,0,464,0
- 258,211,323,246,357,142,274,140
- 383,342,457,365,477,261,401,232
- 425,131,553,227,640,251,640,213,607,176,460,88
snapshots:
enabled: true
timestamp: false
bounding_box: true
retain:
default: 3
motion:
zones:
deck_area:
coordinates: 0,284,0,457,207,480,474,480,640,480,540,406,392,259,253,106,166,31,108,49,0,72
record:
enabled: True
retain:
days: 0
events:
retain:
default: 4
mode: motion
pre_capture: 5
post_capture: 15
deck:
ffmpeg:
inputs:
- path: rtsp://user:pass@172.16.1.28:554/Streaming/Channels/102
roles:
- detect
- path: rtsp://user:pass@172.16.1.28:554/Streaming/Channels/101
roles:
- record
detect:
width: 640
height: 480
fps: 6
objects:
track:
- person
- dog
- cat
- bird
- mouse
filters:
cat:
min_score: 0.3
threshold: 0.5
dog:
min_score: 0.3
threshold: 0.5
person:
mask:
- 79,385,107,480,287,480,259,313,107,268
snapshots:
enabled: true
timestamp: false
bounding_box: true
retain:
default: 4
motion:
mask:
- 374,480,640,480,640,442,372,442
record:
enabled: True
retain:
days: 0
events:
retain:
default: 4
mode: motion
pre_capture: 5
post_capture: 15
garage:
ffmpeg:
inputs:
- path: rtsp://user:pass@172.16.1.33:554/cam/realmonitor?channel=1&subtype=1
roles:
- detect
- path: rtsp://user:pass@172.16.1.33:554/cam/realmonitor?channel=1&subtype=0
roles:
- record
detect:
width: 640
height: 480
fps: 5
objects:
track:
- person
- dog
- bicycle
- cat
snapshots:
enabled: true
timestamp: false
bounding_box: true
retain:
default: 3
record:
enabled: True
retain:
days: 0
events:
retain:
default: 4
mode: active_objects
pre_capture: 5
post_capture: 15
motion:
mask:
- 352,93,477,95,554,99,640,94,640,0,343,0
- 457,480,640,480,640,445,453,444
detectors:
cpu1:
type: cpu
num_threads: 3
rtmp:
enabled: false
birdseye:
enabled: True
width: 1280
height: 720
quality: 1
mode: objects
live:
height: 640
quality: 1