mqtt:
host: 192.168.1.19
user: USER
password: PASSWORD
detectors:
coral:
type: edgetpu
device: usb
go2rtc:
streams:
front_camera_fr_main:
- "ffmpeg:http://192.168.1.100/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=USERNAME&password=PASSWORD#video=copy#audio=copy#audio=opus"
front_camera_fr_sub:
- "ffmpeg:http://192.168.1.100/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=USERNAME&password=PASSWORD"
#Cameras
cameras:
front_camera_fr:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/front_camera_fr_main
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp://127.0.0.1:8554/front_camera_fr_sub
input_args: preset-rtsp-restream
roles:
- detect
output_args:
record: preset-record-generic-audio-aac
best_image_timeout: 60
detect:
fps: 7
enabled: true
width: 896
height: 672
max_disappeared: 25
objects:
track:
- person
motion:
mask:
- 0.213,0.193,0.473,0.108,0.723,0.11,0.792,0.211,1,0.541,1,0,0.436,0,0.001,0,0,0.494
- 0.301,0.927,0.231,0.897,0.182,0.924,0.153,1,0.31,1
zones:
front_camera_drive_zone:
coordinates:
0.426,0.613,0.354,0.719,0,0.629,0,0.804,0,0.909,0,1,0.244,0.879,0.318,0.928,0.363,1,0.41,1,0.527,1,1,1,0.96,0.487,0.768,0.182,0.724,0.118,0.471,0.116,0.454,0.204,0.462,0.333,0.463,0.491
objects: person
inertia: 3
loitering_time: 0
snapshots:
enabled: true
timestamp: false
bounding_box: false
crop: false
required_zones:
- front_camera_drive_zone
retain:
default: 10
objects:
person: 10
record:
enabled: true
expire_interval: 360
retain:
days: 0
mode: motion
events:
pre_capture: 3
post_capture: 3
objects:
- person
retain:
default: 10
mode: motion
objects:
person: 10
review:
alerts:
required_zones: front_camera_drive_zone