Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mqtt:
- enabled: false
- #detectors:
- # coral:
- # type: edgetpu
- # device: usb
- detectors:
- ov:
- type: openvino
- device: GPU
- model:
- width: 300
- height: 300
- input_tensor: nhwc
- input_pixel_format: bgr
- path: /openvino-model/ssdlite_mobilenet_v2.xml
- labelmap_path: /openvino-model/coco_91cl_bkgr.txt
- objects:
- # Optional: list of objects to track from labelmap.txt (default: shown below)
- track:
- - person
- - dog
- - cat
- go2rtc:
- streams:
- living:
- - rtsp://username:[email protected]:554/stream1
- #- "ffmpeg:tapo1#video=copy#audio=opus" #works without it also
- - tapo://[email protected]
- dining:
- - rtsp://username:[email protected]:554/stream1
- #- "ffmpeg:tapo1#video=copy#audio=opus" #works without it also
- - tapo://[email protected]
- june:
- - rtsp://username:[email protected]:554/stream1
- #- "ffmpeg:tapo1#video=copy#audio=opus" #works without it also
- - tapo://[email protected]
- front:
- - rtsp://username:[email protected]:554/stream1
- - tapo://[email protected]
- backyard:
- - rtsp://username:[email protected]:554/h264Preview_01_main
- record:
- enabled: true
- retain:
- days: 1
- mode: all
- alerts:
- retain:
- days: 3
- mode: motion
- detections:
- retain:
- days: 3
- mode: motion
- ffmpeg:
- ## hwaccel_args: preset-vaapi #this will be automatically detected and may not be necessary
- output_args:
- record: preset-record-generic-audio-aac #transcode the original audio to acc
- global_args: -hide_banner -loglevel error
- cameras:
- backyard:
- ui:
- order: 5
- ffmpeg:
- inputs:
- - path: rtsp://admin:[email protected]:554/h264Preview_01_sub
- roles:
- - detect
- onvif:
- host: 192.168.0.45
- port: 8000
- user: username
- password: password
- living: # <------ Name the camera test
- enabled: true
- ffmpeg:
- inputs:
- - path: rtsp://username:[email protected]:554/stream2 # <----- The stream you want to use for detection
- roles:
- - detect
- - path: rtsp://username:[email protected]:554/stream1 # highqual record
- roles:
- - record
- detect:
- enabled: false # <---- disable detection until you have a working camera feed
- ##width: 640
- ##height: 360
- dining: # <------ Name the camera test
- enabled: true
- ffmpeg:
- output_args:
- # record: preset-record-generic-audio-copy
- record: preset-record-generic-audio-aac
- inputs:
- - path: rtsp://username:[email protected]:554/stream2 # <----- The stream you want to use for detection
- roles:
- - detect
- - path: rtsp://username:[email protected]:554/stream1 # highqual record
- roles:
- - record
- detect:
- enabled: false # below is native res
- ##width: 1280
- ##height: 720
- front: # <------ Name the camera test
- enabled: true
- ui:
- order: 0
- ffmpeg:
- inputs:
- - path: rtsp://username:[email protected]:554/stream2 # <----- The stream you want to use for detection
- roles:
- - detect
- - path: rtsp://username:[email protected]:554/stream1 # highqual record
- roles:
- - record
- detect:
- enabled: true # below is the native stream2 res so commetning out?
- ##width: 1280
- ##height: 960
- zones:
- doorstep:
- coordinates:
- 0.867,0.993,0.837,0.239,0.534,0.321,0.536,0.513,0.388,0.508,0.388,0.437,0.052,0.182,0.043,0.954
- loitering_time: 0
- objects: person
- review:
- alerts:
- required_zones:
- - doorstep
- june: # <------ Name the camera test
- enabled: true
- ffmpeg:
- inputs:
- - path: rtsp://username:[email protected]:554/stream2 # <----- The stream you want to use for detection
- roles:
- - detect
- - path: rtsp://username:[email protected]:554/stream1 # highqual record
- roles:
- - record
- detect:
- enabled: false # wow the stream2 res on these is 640x360
- width: 640
- height: 360
- motion:
- mask: 0.014,0.003,0.022,0.542,0.164,0.433,0.167,0.003
- version: 0.15-1
- notifications:
- enabled: 'true'
- email: [email protected]
Advertisement
Add Comment
Please, Sign In to add comment