Yes it is outputting:
frigate.edgetpu INFO : Attempting to load TPU as usb
frigate.edgetpu INFO : TPU found
Although my CPU goes wild…
I have now 3 cams on “low” res (a bird is not detected in the grass…
and I have 1 cam “high res”…
No I have and I still have these “freeze issue”…
logger:
# Optional: default log level (default: shown below)
default: debug
ffmpeg:
# Optional: global ffmpeg args (default: shown below)
global_args: -hide_banner -loglevel warning
# Optional: global hwaccel args (default: shown below)
# NOTE: See hardware acceleration docs for your specific device
hwaccel_args: []
# Optional: global input args (default: shown below)
input_args: -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -stimeout 5000000 -use_wallclock_as_timestamps 1
# Optional: global output args
output_args:
# Optional: output args for detect streams (default: shown below)
detect: -f rawvideo -pix_fmt yuv420p
# Optional: output args for record streams (default: shown below)
record: -f segment -segment_time 60 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an
# Optional: output args for clips streams (default: shown below)
clips: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an
mqtt:
host: 192.168.1.142
# Optional: port (default: shown below)
port: 1883
# Optional: topic prefix (default: shown below)
# WARNING: must be unique if you are running multiple instances
topic_prefix: frigate200
# Optional: client id (default: shown below)
# WARNING: must be unique if you are running multiple instances
client_id: frigate200
# Optional: user
user: mqtt
# Optional: password
# NOTE: Environment variables that begin with 'FRIGATE_' may be referenced in {}.
# eg. password: '{FRIGATE_MQTT_PASSWORD}'
password: mqtt
# Optional: interval in seconds for publishing stats (default: shown below)
stats_interval: 60
cameras:
voordeur:
ffmpeg:
inputs:
- path: rtsp://admin:[email protected]:554/Streaming/Channels/102/
roles:
- detect
- clips
width: 704
height: 576
fps: 6
snapshots:
enabled: true
crop: false
objects:
track:
- person
- dog
- cat
schuurachter:
ffmpeg:
inputs:
- path: rtsp://admin:[email protected]:554/Streaming/Channels/102/
roles:
- detect
- clips
width: 704
height: 576
fps: 6
snapshots:
enabled: true
crop: false
objects:
track:
- person
- car
- dog
- bicycle
parkeerplaats:
ffmpeg:
inputs:
- path: rtsp://admin:[email protected]:554/Streaming/Channels/102/
roles:
- detect
- clips
width: 640
height: 480
fps: 6
snapshots:
enabled: true
crop: false
objects:
track:
- person
- car
- dog
- bicycle
motion:
mask: 402,30,461,47,455,170,640,230,640,0,474,0,56,0,58,45,207,57,206,34,233,32,229,88,326,77,354,54,379,38
terras:
ffmpeg:
inputs:
- path: rtsp://admin:[email protected]:554/Streaming/Channels/101/
roles:
- detect
- clips
width: 3840
height: 2160
fps: 4
snapshots:
enabled: true
crop: false
objects:
track:
- bird
- dog
- cat
motion:
mask: 3840,0,3840,1290,3193,1383,3069,769,3001,378,2723,0
detectors:
coral:
type: edgetpu
device: usb
#detectors:
# cpu1:
# type: cpu
# cpu2:
# type: cpu
clips:
# Optional: Maximum length of time to retain video during long events. (default: shown below)
# NOTE: If an object is being tracked for longer than this amount of time, the cache
# will begin to expire and the resulting clip will be the last x seconds of the event.
max_seconds: 20
# Optional: size of tmpfs mount to create for cache files (default: not set)
# mount -t tmpfs -o size={tmpfs_cache_size} tmpfs /tmp/cache
# NOTICE: Addon users must have Protection mode disabled for the addon when using this setting.
# Also, if you have mounted a tmpfs volume through docker, this value should not be set in your config.
tmpfs_cache_size: 512m
# Optional: Retention settings for clips (default: shown below)
retain:
# Required: Default retention days (default: shown below)
default: 100
# Optional: Per object retention days
objects:
person: 150