mirror of
https://github.com/michaelthomson0797/fleet-infra.git
synced 2026-09-19 06:18:28 +00:00
85 lines
1.9 KiB
YAML
85 lines
1.9 KiB
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: frigate
|
|
namespace: frigate
|
|
data:
|
|
config.yml: |
|
|
tls:
|
|
enabled: false
|
|
|
|
mqtt:
|
|
enabled: true
|
|
host: emqx.emqx.svc.cluster.local
|
|
user: frigate
|
|
password: '{FRIGATE_MQTT_PASSWORD}'
|
|
|
|
ffmpeg:
|
|
hwaccel_args: preset-nvidia
|
|
|
|
detectors:
|
|
onnx:
|
|
type: onnx
|
|
|
|
detect:
|
|
enabled: true
|
|
|
|
audio:
|
|
enabled: true
|
|
listen:
|
|
- cat
|
|
- meow
|
|
- hiss
|
|
- fart
|
|
|
|
objects:
|
|
track:
|
|
- person
|
|
- cat
|
|
|
|
record:
|
|
enabled: true
|
|
alerts:
|
|
retain:
|
|
days: 1
|
|
detections:
|
|
retain:
|
|
days: 1
|
|
|
|
model:
|
|
model_type: yolo-generic
|
|
width: 640 # <--- should match the imgsize set during model export
|
|
height: 640 # <--- should match the imgsize set during model export
|
|
input_tensor: nchw
|
|
input_dtype: float
|
|
path: /config/model_cache/yolov9-c-640.onnx
|
|
labelmap_path: /labelmap/coco-80.txt
|
|
|
|
go2rtc:
|
|
streams:
|
|
c200_1:
|
|
- rtsp://{FRIGATE_RTSP_USERNAME}:{FRIGATE_RTSP_PASSWORD}@192.168.18.20:554/stream1
|
|
c200_1_sub:
|
|
- rtsp://{FRIGATE_RTSP_USERNAME}:{FRIGATE_RTSP_PASSWORD}@192.168.18.20:554/stream2
|
|
cameras:
|
|
tapoC200_1:
|
|
enabled: true
|
|
onvif:
|
|
host: 192.168.18.20
|
|
port: 2020
|
|
user: '{FRIGATE_RTSP_USERNAME}'
|
|
password: '{FRIGATE_RTSP_PASSWORD}'
|
|
ffmpeg:
|
|
output_args:
|
|
record: preset-record-generic
|
|
inputs:
|
|
- path: rtsp://127.0.0.1:8554/c200_1?video&audio
|
|
input_args: preset-rtsp-restream
|
|
roles:
|
|
- record
|
|
- path: rtsp://127.0.0.1:8554/c200_1_sub
|
|
input_args: preset-rtsp-restream
|
|
roles:
|
|
- detect
|
|
- audio
|