348 lines
8.8 KiB
YAML
348 lines
8.8 KiB
YAML
mqtt:
|
|
host: 192.168.0.39
|
|
port: 1883
|
|
user: corey
|
|
password: '41945549'
|
|
topic_prefix: frigate/events
|
|
|
|
ffmpeg:
|
|
hwaccel_args: preset-nvidia-h264
|
|
|
|
detectors:
|
|
tensorrt:
|
|
type: tensorrt
|
|
device: 0
|
|
|
|
model:
|
|
path: /config/model_cache/tensorrt/yolov7-320.trt
|
|
input_tensor: nchw
|
|
input_pixel_format: rgb
|
|
model_type: yolox
|
|
labelmap_path: /labelmap.txt
|
|
|
|
objects:
|
|
track:
|
|
- person
|
|
- car
|
|
- dog
|
|
- cat
|
|
- bird
|
|
- motorcycle
|
|
- airplane
|
|
- boat
|
|
|
|
detect:
|
|
enabled: true
|
|
|
|
snapshots:
|
|
enabled: true
|
|
timestamp: false
|
|
bounding_box: false
|
|
crop: false
|
|
retain:
|
|
default: 7
|
|
objects:
|
|
person: 14
|
|
|
|
birdseye:
|
|
enabled: false
|
|
restream: true
|
|
width: 1280
|
|
height: 720
|
|
quality: 8
|
|
mode: continuous
|
|
|
|
go2rtc:
|
|
streams:
|
|
Kitchen:
|
|
- ffmpeg:http://192.168.0.215/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=is41945549#video=copy#audio=copy#audio=opus
|
|
Livingroom:
|
|
- ffmpeg:http://192.168.0.216/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=is41945549#video=copy#audio=copy#audio=opus
|
|
Front:
|
|
- ffmpeg:http://192.168.0.212/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=41945549#video=copy#audio=copy#audio=opus
|
|
Driveway:
|
|
- ffmpeg:rtmp://admin:41945549@192.168.0.219:1935/bcs/channel0_sub.bcs?channel=0&stream=0&user=admin&password=Is41945549
|
|
Garage:
|
|
- ffmpeg:http://192.168.0.214/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=41945549#video=copy#audio=copy#audio=opus
|
|
Back:
|
|
- ffmpeg:rtmp://admin:41945549@192.168.0.213:1935/bcs/channel0_sub.bcs?channel=0&stream=0&user=admin&password=41945549
|
|
Front_DUO2:
|
|
- ffmpeg:rtmp://admin:41945549@192.168.0.217:1935/bcs/channel0_sub.bcs?channel=0&stream=0&user=admin&password=41945549
|
|
Back_Porch:
|
|
- ffmpeg:http://192.168.0.212/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=41945549#video=copy#audio=copy#audio=opus
|
|
|
|
cameras:
|
|
Kitchen:
|
|
ffmpeg:
|
|
inputs:
|
|
- path: rtsp://127.0.0.1:8554/Kitchen
|
|
input_args: preset-rtsp-restream
|
|
roles:
|
|
- detect
|
|
motion:
|
|
threshold: 50
|
|
contour_area: 13
|
|
improve_contrast: true
|
|
objects:
|
|
track:
|
|
- person
|
|
- dog
|
|
filters:
|
|
person:
|
|
mask:
|
|
0.597,0.002,0.587,0.228,0.67,0.262,0.736,0.475,0.86,0.471,0.943,0.532,0.999,0.287,0.999,0.002
|
|
dog:
|
|
mask:
|
|
0.597,0.003,0.587,0.229,0.67,0.259,0.735,0.477,0.859,0.474,0.943,0.532,0.999,0.29,0.999,0.004
|
|
record:
|
|
enabled: false
|
|
detect:
|
|
stationary:
|
|
interval: 50
|
|
threshold: 50
|
|
width: 1600
|
|
height: 900
|
|
fps: 10
|
|
enabled: true
|
|
zones:
|
|
Full_Kitchen_Zone:
|
|
coordinates:
|
|
0.001,0.001,0.596,0.002,0.586,0.23,0.67,0.262,0.735,0.48,0.859,0.478,0.944,0.533,0.999,0.303,0.999,0.999,0.001,0.998
|
|
loitering_time: 0
|
|
|
|
Livingroom:
|
|
ffmpeg:
|
|
inputs:
|
|
- path: rtsp://127.0.0.1:8554/Livingroom
|
|
input_args: preset-rtsp-restream
|
|
roles:
|
|
- detect
|
|
motion:
|
|
threshold: 55
|
|
contour_area: 10
|
|
improve_contrast: true
|
|
mask: 0.499,0,0.497,0.237,0.682,0.263,0.696,0
|
|
objects:
|
|
track:
|
|
- person
|
|
- dog
|
|
filters:
|
|
person:
|
|
mask:
|
|
- 0.511,0.052,0.506,0.256,0.674,0.276,0.682,0.066
|
|
- 0.32,0,0.329,0.205,0.449,0.228,0.447,0.145,0.482,0.144,0.479,0.001
|
|
car:
|
|
mask: 0.512,0.053,0.506,0.255,0.676,0.269,0.684,0.068
|
|
dog:
|
|
mask:
|
|
- 0.511,0.049,0.506,0.256,0.672,0.272,0.682,0.074
|
|
- 0.319,0.001,0.329,0.204,0.449,0.228,0.447,0.144,0.483,0.144,0.48,0.004
|
|
cat:
|
|
mask: 0.511,0.047,0.51,0.253,0.669,0.272,0.688,0.075
|
|
record:
|
|
enabled: false
|
|
detect:
|
|
stationary:
|
|
interval: 50
|
|
threshold: 50
|
|
width: 1600
|
|
height: 900
|
|
fps: 10
|
|
enabled: true
|
|
zones:
|
|
Full_Living_Room:
|
|
coordinates:
|
|
0.001,0,0.32,0,0.328,0.204,0.448,0.228,0.447,0.145,0.482,0.146,0.48,0.003,0.998,0.001,0.999,0.999,0,0.998,0,0.406
|
|
loitering_time: 0
|
|
inertia: 3
|
|
|
|
Driveway:
|
|
ffmpeg:
|
|
inputs:
|
|
- path: rtsp://127.0.0.1:8554/Driveway
|
|
input_args: preset-rtsp-restream
|
|
roles:
|
|
- detect
|
|
motion:
|
|
threshold: 55
|
|
contour_area: 19
|
|
improve_contrast: true
|
|
objects:
|
|
track:
|
|
- person
|
|
- dog
|
|
- car
|
|
- motorcycle
|
|
filters:
|
|
person: {}
|
|
car:
|
|
mask:
|
|
0.697,0.202,0.696,0.246,0.755,0.246,0.794,0.25,0.852,0.243,0.85,0.209,0.773,0.197
|
|
record:
|
|
enabled: false
|
|
detect:
|
|
enabled: true
|
|
zones:
|
|
Full_Driveway:
|
|
coordinates:
|
|
0.649,0.304,0.59,0.331,0.49,0.377,0.378,0.374,0.258,0.402,0,0.525,0.001,0.939,0,1,0.849,1,0.873,0.46,0.734,0.389,0.788,0.323
|
|
loitering_time: 0
|
|
inertia: 3
|
|
objects: car
|
|
onvif:
|
|
host: 192.168.0.219
|
|
port: 8000
|
|
user: admin
|
|
password: Is41945549
|
|
|
|
Front_DUO2:
|
|
ffmpeg:
|
|
inputs:
|
|
- path: rtsp://127.0.0.1:8554/Front_DUO2
|
|
input_args: preset-rtsp-restream
|
|
roles:
|
|
- detect
|
|
objects:
|
|
track:
|
|
- person
|
|
- dog
|
|
- car
|
|
- motorcycle
|
|
- airplane
|
|
- boat
|
|
filters:
|
|
person:
|
|
mask:
|
|
- 0.696,0.446,0.695,0.59,0.726,0.59,0.733,0.439
|
|
- 0.179,0.446,0.178,0.476,0.188,0.473,0.189,0.445
|
|
- 0.195,0.451,0.197,0.495,0.206,0.491,0.206,0.448
|
|
- 0.307,0.433,0.306,0.463,0.327,0.466,0.326,0.436
|
|
- 0.033,0.488,0.034,0.516,0.044,0.518,0.044,0.485
|
|
- 0.78,0.449,0.779,0.501,0.795,0.509,0.798,0.461
|
|
- 0.888,0.532,0.884,0.593,0.899,0.601,0.904,0.544
|
|
car:
|
|
mask:
|
|
- 0.218,0.423,0.217,0.458,0.263,0.452,0.261,0.42
|
|
- 0.738,0.438,0.737,0.469,0.776,0.478,0.776,0.453
|
|
- 0.843,0.462,0.837,0.535,0.882,0.539,0.884,0.463
|
|
airplane:
|
|
mask: 0.9,0.002,0.92,0.536,1,0.6,1,0
|
|
record:
|
|
enabled: false
|
|
detect:
|
|
enabled: true
|
|
motion:
|
|
threshold: 50
|
|
contour_area: 15
|
|
improve_contrast: true
|
|
zones:
|
|
Front_Steps:
|
|
coordinates:
|
|
0.014,0.688,0.021,0.742,0.069,0.717,0.107,0.699,0.139,0.69,0.188,0.682,0.077,0.617,0.07,0.648,0.047,0.671
|
|
loitering_time: 0
|
|
inertia: 3
|
|
|
|
Back:
|
|
ffmpeg:
|
|
inputs:
|
|
- path: rtsp://127.0.0.1:8554/Back
|
|
input_args: preset-rtsp-restream
|
|
roles:
|
|
- detect
|
|
motion:
|
|
mask: 0,0,0,0.065,0.278,0.066,0.278,0
|
|
threshold: 55
|
|
contour_area: 15
|
|
improve_contrast: true
|
|
objects:
|
|
track:
|
|
- person
|
|
- dog
|
|
- bird
|
|
filters:
|
|
person:
|
|
mask:
|
|
- 0.297,0.082,0.299,0.116,0.307,0.116,0.307,0.08
|
|
- 0.983,0.505,0.983,0.468,1,0.469,1,0.515
|
|
- 0.93,0.361,0.929,0.465,0.955,0.478,0.966,0.412
|
|
- 0,0.79,0.027,0.78,0.035,0.878,0.036,1,0,1
|
|
- 0.113,0.285,0.129,0.285,0.133,0.338,0.117,0.355
|
|
- 0.637,0.001,0.636,0.051,0.654,0.066,0.653,0
|
|
- 0.674,0.035,0.673,0.102,0.684,0.102,0.691,0.041
|
|
- 0.367,0,0.366,0.09,0.379,0.092,0.379,0.006
|
|
- 0.867,0.255,0.868,0.303,0.879,0.309,0.877,0.261
|
|
- 0.262,0.083,0.269,0.124,0.28,0.109,0.272,0.076
|
|
- 0.07,0.649,0.089,0.817,0.23,0.682,0.205,0.502
|
|
- 0.334,0.005,0.334,0.066,0.355,0.058,0.356,0
|
|
record:
|
|
enabled: false
|
|
detect:
|
|
stationary:
|
|
interval: 50
|
|
threshold: 50
|
|
width: 1536
|
|
height: 576
|
|
fps: 10
|
|
enabled: true
|
|
|
|
Garage:
|
|
ffmpeg:
|
|
inputs:
|
|
- path: rtsp://127.0.0.1:8554/Garage
|
|
input_args: preset-rtsp-restream
|
|
roles:
|
|
- detect
|
|
motion:
|
|
threshold: 50
|
|
contour_area: 13
|
|
improve_contrast: true
|
|
objects:
|
|
track:
|
|
- person
|
|
- dog
|
|
filters:
|
|
person: {}
|
|
dog: {}
|
|
record:
|
|
enabled: false
|
|
detect:
|
|
stationary:
|
|
interval: 50
|
|
threshold: 50
|
|
width: 1280
|
|
height: 720
|
|
fps: 5
|
|
enabled: true
|
|
|
|
Back_Porch:
|
|
ffmpeg:
|
|
inputs:
|
|
- path: rtsp://127.0.0.1:8554/Back_Porch
|
|
input_args: preset-rtsp-restream
|
|
roles:
|
|
- detect
|
|
motion:
|
|
threshold: 50
|
|
contour_area: 13
|
|
improve_contrast: true
|
|
objects:
|
|
track:
|
|
- person
|
|
- dog
|
|
filters:
|
|
person: {}
|
|
dog: {}
|
|
record:
|
|
enabled: false
|
|
detect:
|
|
stationary:
|
|
interval: 50
|
|
threshold: 50
|
|
width: 1280
|
|
height: 720
|
|
fps: 10
|
|
enabled: true
|
|
|
|
record:
|
|
enabled: false
|