v12
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
mqtt:
|
||||
enabled: false # set to true and fill in host below if you use Home Assistant / MQTT
|
||||
# host: 192.168.1.10
|
||||
# port: 1883
|
||||
# user: mqtt_user
|
||||
# password: mqtt_password
|
||||
|
||||
detectors:
|
||||
coral:
|
||||
type: edgetpu
|
||||
device: usb # single USB Coral. Uses the bundled Mobiledet model by default.
|
||||
|
||||
cameras:
|
||||
camera_1:
|
||||
ffmpeg:
|
||||
inputs:
|
||||
# Full-resolution main stream -> used for recording
|
||||
- path: rtsp://user:password@192.168.1.50:554/stream1
|
||||
roles:
|
||||
- record
|
||||
# Lower-resolution substream -> used for detection (saves CPU on the Pi 5)
|
||||
# If your camera has no substream, delete this block and add "detect"
|
||||
# to the roles list above instead.
|
||||
- path: rtsp://user:password@192.168.1.50:554/stream2
|
||||
roles:
|
||||
- detect
|
||||
detect:
|
||||
width: 1280 # must match your detect (sub)stream resolution
|
||||
height: 720
|
||||
fps: 5
|
||||
|
||||
record:
|
||||
enabled: true
|
||||
retain:
|
||||
days: 7
|
||||
mode: motion
|
||||
|
||||
snapshots:
|
||||
enabled: true
|
||||
retain:
|
||||
default: 14
|
||||
|
||||
# Objects to track. Defaults to person if omitted.
|
||||
objects:
|
||||
track:
|
||||
- person
|
||||
- car
|
||||
- cat
|
||||
- dog
|
||||
|
||||
version: 0.16-0
|
||||
Reference in New Issue
Block a user