AussiSG

DoubleTake Config

Mar 19th, 2024
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 2.83 KB | Software | 0 0
  1. # Double Take
  2. # Learn more at https://github.com/jakowenko/double-take/#configuration
  3. mqtt:
  4.   host: 192.168.0.12:1883
  5.   user: !secret mqtt_user
  6.   password: !secret mqtt_pass
  7.  
  8. frigate:
  9.   url: http://192.168.0.12:5000
  10.   update_sub_labels: true
  11.   labels:
  12.    - person
  13.   # defaults applied to all cameras and events
  14.   attempts:
  15.    # number of times double take will request a frigate latest.jpg for facial recognition
  16.     latest: 10
  17.     # number of times double take will request a frigate snapshot.jpg for facial recognition
  18.     snapshot: 0
  19.     # process frigate images from frigate/+/person/snapshot topics
  20.     mqtt: false
  21.     # add a delay expressed in seconds between each detection loop
  22.     delay: 0
  23.  
  24.  
  25.   events:
  26.    # doorbell camera
  27.     doorbell:
  28.      # mqtt disabled
  29.       mqtt: false
  30.       # picture to be used
  31.       image:
  32.         width: 1280
  33.         height: 720
  34.         latest: http://192.168.0.12:1984/api/frame.jpeg?src=doorbell_snapshot
  35.        
  36.     # doorbell camera
  37.     front1:
  38.      # mqtt disabled
  39.       mqtt: false
  40.       # picture to be used
  41.       image:
  42.         width: 1280
  43.         height: 720
  44.         latest: http://192.168.0.12:1984/api/frame.jpeg?src=front1
  45.        
  46.  
  47. detectors:
  48.   compreface:
  49.     url: http://192.168.0.12:8000
  50.     key: !secret compreface_api
  51.     # number of seconds before the request times out and is aborted
  52.     timeout: 15
  53.     # minimum required confidence that a recognized face is actually a face
  54.     # value is between 0.0 and 1.0
  55.     det_prob_threshold: 0.8
  56.     # require opencv to find a face before processing with detector
  57.     opencv_face_required: false
  58.     # comma-separated slugs of face plugins
  59.     # https://github.com/exadel-inc/CompreFace/blob/e1ee791cac6cd9b1d3a9ea2cb129c78cb00a9083/docs/Face-services-and-plugins.md)
  60.     # face_plugins: mask,gender,age
  61.     # only process images from specific cameras, if omitted then all cameras will be processed
  62.     # cameras:
  63.     #   - front-door
  64.     #   - garage
  65.  
  66. detect:
  67.   match:
  68.    # save match images
  69.     save: true
  70.     # include base64 encoded string in api results and mqtt messages
  71.     # options: true, false, box
  72.     base64: false
  73.     # minimum confidence needed to consider a result a match
  74.     confidence: 85
  75.     # hours to keep match images until they are deleted
  76.     purge: 24
  77.     # minimum area in pixels to consider a result a match
  78.     min_area: 10000
  79.     #when using substream image, 3600
  80.  
  81.   unknown:
  82.    # save unknown images
  83.     save: true
  84.     # include base64 encoded string in api results and mqtt messages
  85.     # options: true, false, box
  86.     base64: false
  87.     # minimum confidence needed before classifying a name as unknown
  88.     confidence: 65
  89.     # hours to keep unknown images until they are deleted
  90.     purge: 12
  91.     # minimum area in pixels to keep an unknown result
  92.     min_area: 10
Add Comment
Please, Sign In to add comment