Guest User

Untitled

a guest
May 1st, 2025
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 12.15 KB | None | 0 0
  1.  
  2. version: 0.15-1
  3.  
  4. timestamp_style:
  5.   position: br
  6.   format: '%m/%d/%Y %H:%M:%S'
  7.   color:
  8.     red: 255
  9.     green: 255
  10.     blue: 255
  11.   thickness: 2
  12.  
  13. mqtt:
  14.   enabled: true
  15.   host: 10.10.10.35
  16.   topic_prefix: frigate
  17.   user: ha-mosquito
  18.   password: PASSWORD
  19.  
  20. detectors:
  21.   ov_0:
  22.     type: openvino
  23.     device: GPU
  24.   ov_1:
  25.     type: openvino
  26.     device: GPU
  27. #  coral:
  28. #    type: edgetpu
  29. #    device: usb
  30.  
  31. model:
  32.   width: 300
  33.   height: 300
  34.   input_tensor: nhwc
  35.   input_pixel_format: bgr
  36.   path: /openvino-model/ssdlite_mobilenet_v2.xml
  37.   labelmap_path: /openvino-model/coco_91cl_bkgr.txt
  38.  
  39. ffmpeg:
  40.   hwaccel_args: preset-vaapi
  41.   output_args:
  42.     record: preset-record-generic-audio-aac
  43.  
  44. genai:
  45.   enabled: true
  46.   provider: gemini
  47.   api_key: API_KEY
  48.   model: gemini-2.0-flash
  49.  
  50. go2rtc:
  51.   streams:
  52.     porch_main: rtsp://scrypted.home:34185/f6c175947ccc059f
  53.     porch_ext: rtsp://scrypted.home:34185/6ae4a3b7c5fcd376
  54.     driveway_main: rtsp://scrypted.home:46671/91cc78bd8cb73025
  55.     driveway_ext: rtsp://scrypted.home:46671/87e9ef8526bdb34c
  56.     driveway_scr_main: rtsp://scrypted.home:46671/91cc78bd8cb73025
  57.     driveway_scr_ext: rtsp://scrypted.home:46671/87e9ef8526bdb34c
  58.     frontyard_main: rtsp://scrypted.home:42495/ad236932ce5bce50
  59.     frontyard_ext: rtsp://scrypted.home:42495/e1b25819cd9701cf
  60.     frontyard_wyze: rtsp://scrypted.home:38599/68a24e99c418461b
  61.     sideyard: rtsp://scrypted.home:45873/2129521a868329e0
  62.  
  63. cameras:
  64.   porch:
  65.     ffmpeg:
  66.       inputs:
  67.         - path: rtsp://127.0.0.1:8554/porch_ext?mp4
  68.           input_args: preset-rtsp-restream
  69.           roles:
  70.            - detect
  71.         - path: rtsp://127.0.0.1:8554/porch_main?mp4
  72.           input_args: preset-rtsp-restream
  73.           roles:
  74.            - record
  75.     motion:
  76.       mask:
  77.        - 0.505,0.977,0.971,0.976,0.969,0.943,0.502,0.941
  78.         - 0.025,0.588,0.02,0.507,0.065,0.46,0.066,0.306,0.044,0.27,0.119,0.178,0.269,0.06,0.192,0,0.003,0,0.003,0.269,0,0.615,0.024,0.612
  79.     detect:
  80.       width: 640
  81.       height: 480
  82.       fps: 7
  83.     objects:
  84.       track:
  85.        - person
  86.         - dog
  87.         - cat
  88.         - umbrella
  89.       filters:
  90.         person:
  91.           threshold: 0.68
  92.     snapshots:
  93.       enabled: true
  94.       bounding_box: false
  95.       retain:
  96.         default: 5
  97.     record:
  98.       enabled: true
  99.       retain:
  100.         days: 5
  101.         mode: motion
  102.       alerts:
  103.         retain:
  104.           days: 14
  105.       detections:
  106.         retain:
  107.           days: 7
  108.     zones:
  109.       porch_detection_zone:
  110.         coordinates: 0,1,1,1,1,0,0.493,0,0.07,0.314,0.07,0.469,0.027,0.514,0.031,0.613,0,0.623
  111.         inertia: 3
  112.         loitering_time: 0
  113.     mqtt:
  114.       enabled: true
  115.       timestamp: false
  116.       bounding_box: false
  117.       crop: true
  118.       height: 270
  119.       quality: 70
  120.       required_zones:
  121.        - porch_detection_zone
  122.     review:
  123.       alerts:
  124.         required_zones: porch_detection_zone
  125.   backyard:
  126.     ffmpeg:
  127.       inputs:
  128.         - path:
  129.             http://10.10.10.133/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=admin&password=PASSWORD
  130.           input_args: preset-http-reolink
  131.           roles:
  132.            - detect
  133.         - path: rtsp://admin:[email protected]:554//h264Preview_01_main
  134.           input_args: preset-rtsp-restream
  135.           roles:
  136.            - record
  137.     motion:
  138.       mask: 0.508,0.984,0.981,0.985,0.979,0.941,0.507,0.942
  139.     detect:
  140.       width: 640
  141.       height: 480
  142.       fps: 10
  143.     objects:
  144.       track:
  145.        - person
  146.         - dog
  147.         - cat
  148.       filters:
  149.         person:
  150.           threshold: 0.75
  151.         dog:
  152.           threshold: 0.70
  153.         cat:
  154.           threshold: 0.76
  155.     snapshots:
  156.       enabled: true
  157.       bounding_box: false
  158.       retain:
  159.         default: 5
  160.     record:
  161.       enabled: true
  162.       retain:
  163.         days: 5
  164.         mode: motion
  165.       alerts:
  166.         retain:
  167.           days: 14
  168.       detections:
  169.         retain:
  170.           days: 7
  171.     zones:
  172.       pool:
  173.         coordinates:
  174.           0.923,0.146,0.715,0.11,0.641,0.176,0.576,0.214,0.579,0.267,0.696,0.294,0.835,0.275,0.843,0.201,0.878,0.173,0.924,0.171
  175.         inertia: 3
  176.         loitering_time: 2
  177.       pre_pool:
  178.         coordinates:
  179.           0.884,0.177,0.848,0.204,0.834,0.281,0.701,0.298,0.577,0.269,0.572,0.21,0.684,0.142,0.716,0.104,0.922,0.142,0.919,0.09,0.658,0.058,0.361,0.25,0.567,0.346,0.911,0.456,0.93,0.179
  180.         inertia: 3
  181.         loitering_time: 0
  182.       fence:
  183.         coordinates:
  184.           0.004,0.318,0.178,0.2,0.318,0.13,0.379,0.099,0.461,0.067,0.611,0.012,0.781,0.015,0.923,0.058,0.927,0.004,0.505,0,0.255,0.098,0.107,0.184,0,0.256
  185.         inertia: 3
  186.         loitering_time: 0
  187.   driveway:
  188.     mqtt:
  189.       enabled: true
  190.       timestamp: false
  191.       bounding_box: false
  192.       crop: true
  193.       height: 270
  194.       quality: 70
  195.       required_zones:
  196.        - driveway_detection_zone
  197.     ffmpeg:
  198.       inputs:
  199.         - path: rtsp://127.0.0.1:8554/driveway_ext?mp4
  200.           input_args: preset-rtsp-restream
  201.           roles:
  202.            - detect
  203.         - path: rtsp://127.0.0.1:8554/driveway_main?mp4
  204.           input_args: preset-rtsp-restream
  205.           roles:
  206.            - record
  207.     motion:
  208.       mask: 0.972,0.928,0.971,0.978,0.51,0.973,0.511,0.926
  209.     detect:
  210.       width: 896
  211.       height: 512
  212.       fps: 10
  213.       stationary:
  214. #          interval: 0
  215.         threshold: 50
  216.     objects:
  217.       track:
  218.        - person
  219.         - dog
  220.         - cat
  221.         - umbrella
  222.         - car
  223.         - bicycle
  224.         - motorcycle
  225.       filters:
  226.         person:
  227.           threshold: 0.62
  228.         dog:
  229.           threshold: 0.70
  230.         car:
  231.           mask: 0.421,0.177,0.66,0.178,0.76,0.191,0.957,0.442,1,0.389,1,0.007,0,0.007,0,0.231
  232.     snapshots:
  233.       enabled: true
  234.       bounding_box: false
  235.       retain:
  236.         default: 5
  237.     record:
  238.       enabled: true
  239.       retain:
  240.         days: 5
  241.         mode: motion
  242.       alerts:
  243.         retain:
  244.           days: 14
  245.       detections:
  246.         retain:
  247.           days: 7
  248.     zones:
  249.       driveway_pre_detection_zone:
  250.         coordinates:
  251.           0.711,0.244,1,0.599,1,0.492,0.845,0.317,0.732,0.175,0.405,0.166,0.176,0.201,0,0.236,0,0.282,0.437,0.242
  252.         inertia: 3
  253.         loitering_time: 0
  254.       driveway_detection_zone:
  255.         coordinates: 0.407,0.22,0.697,0.215,1,0.577,1,1,0,1,0,0.293,0.151,0.246
  256.         inertia: 3
  257.         loitering_time: 0
  258.     review:
  259.       alerts:
  260.         required_zones: driveway_detection_zone
  261.       detections:
  262.         required_zones: driveway_pre_detection_zone
  263.   frontyard:
  264.     ffmpeg:
  265.       inputs:
  266.         - path: rtsp://127.0.0.1:8554/frontyard_ext?mp4
  267.           input_args: preset-rtsp-restream
  268.           roles:
  269.            - detect
  270.         - path: rtsp://127.0.0.1:8554/frontyard_main?mp4
  271.           input_args: preset-rtsp-restream
  272.           roles:
  273.            - record
  274.     motion:
  275.       mask: 0.972,0.928,0.971,0.978,0.51,0.973,0.511,0.926
  276.     detect:
  277.       width: 896
  278.       height: 512
  279.       fps: 10
  280.       stationary:
  281. #          interval: 0
  282.         threshold: 50
  283.     objects:
  284.       track:
  285.        - person
  286.         - dog
  287.         - cat
  288.         - umbrella
  289.         - car
  290.         - bicycle
  291.         - motorcycle
  292.       filters:
  293.         person:
  294.           threshold: 0.62
  295.           mask: 0.026,0.329,0.068,0.293,0.073,0.34,0.034,0.37
  296.         dog:
  297.           threshold: 0.70
  298.         car:
  299.           mask: 0.201,0.182,0.49,0.244,0.778,0.352,1,0.453,1,0,0.253,0
  300.     snapshots:
  301.       enabled: true
  302.       bounding_box: false
  303.       retain:
  304.         default: 5
  305.     record:
  306.       enabled: true
  307.       retain:
  308.         days: 5
  309.         mode: motion
  310.       alerts:
  311.         retain:
  312.           days: 14
  313.       detections:
  314.         retain:
  315.           days: 7
  316.     zones:
  317.       fy_driveway_detection_zone:
  318.         coordinates: 0.175,0.414,0.238,0.482,0.41,0.361,1,0.637,1,1,0,1,0,0.562
  319.         inertia: 3
  320.         loitering_time: 0
  321.         objects:
  322.          - person
  323.           - dog
  324.           - cat
  325.           - umbrella
  326.           - car
  327.           - bicycle
  328.           - motorcycle
  329.       fy_driveway_pre_detection_zone:
  330.         coordinates: 1,0.628,1,0.473,0.735,0.351,0.526,0.27,0.408,0.349
  331.         inertia: 3
  332.         loitering_time: 0
  333.         objects:
  334.          - bicycle
  335.           - cat
  336.           - dog
  337.           - person
  338.           - umbrella
  339.       frontyard_detection_zone:
  340.         coordinates: 0.287,0.211,0.527,0.271,0.241,0.477,0.177,0.413,0.026,0.535,0,0.395
  341.         loitering_time: 0
  342.         objects:
  343.          - bicycle
  344.           - cat
  345.           - dog
  346.           - person
  347.           - umbrella
  348.         inertia: 3
  349.     review:
  350.       alerts:
  351.         required_zones: fy_driveway_detection_zone
  352.       detections:
  353.         required_zones: fy_driveway_pre_detection_zone
  354.   frontyard_wyze:
  355.     ffmpeg:
  356.       inputs:
  357.         - path: rtsp://127.0.0.1:8554/frontyard_wyze?mp4
  358. #         input_args: preset-rtsp-restream
  359.           roles:
  360.            - detect
  361.             - record
  362.     detect:
  363.       width: 1280
  364.       height: 720
  365.       fps: 10
  366.       stationary:
  367.         threshold: 50
  368.     objects:
  369.       track:
  370.        - person
  371.         - dog
  372.         - cat
  373.         - umbrella
  374.         - car
  375.         - bicycle
  376.         - motorcycle
  377.       filters:
  378.         person:
  379.           threshold: 0.62
  380.         dog:
  381.           threshold: 0.70
  382.         car:
  383.           mask: 0.291,0,0.893,0,0.974,0.431,0.93,0.61,0.624,0.397,0.227,0.093
  384.         umbrella:
  385.           mask: 0.35,0.968,0.83,0.966,0.832,0.996,0.35,0.996
  386.     snapshots:
  387.       enabled: true
  388.       bounding_box: false
  389.       retain:
  390.         default: 5
  391.     record:
  392.       enabled: true
  393.       retain:
  394.         days: 5
  395.         mode: motion
  396.     zones:
  397.       frontyard_wyze_pre_detection_zone:
  398.         coordinates:
  399.           0.717,0.567,0.884,0.716,0.916,0.605,0.632,0.406,0.417,0.249,0.232,0.1,0,0.173,0,0.386,0.308,0.244,0.448,0.356
  400.         inertia: 3
  401.         loitering_time: 0
  402.         objects:
  403.          - umbrella
  404.           - person
  405.           - dog
  406.           - cat
  407.           - bicycle
  408.       frontyard_wyze_detection_zone:
  409.         coordinates: 0,0.393,0.312,0.251,0.387,0.315,0.607,0.481,0.876,0.722,0.794,1,0,1
  410.         inertia: 3
  411.         loitering_time: 0
  412.         objects:
  413.          - cat
  414.           - dog
  415.           - person
  416.           - umbrella
  417.           - bicycle
  418.     motion:
  419.       threshold: 50
  420.       contour_area: 30
  421.       improve_contrast: 'true'
  422.       mask: 0.723,0.941,0.725,0.977,0.973,0.976,0.971,0.934
  423.     review:
  424.       alerts:
  425.         required_zones: frontyard_wyze_detection_zone
  426.       detections:
  427.         required_zones: frontyard_wyze_pre_detection_zone
  428.   sideyard:
  429.     ffmpeg:
  430.       inputs:
  431.         - path: rtsp://127.0.0.1:8554/sideyard?mp4
  432. #          input_args: preset-rtsp-restream
  433.           input_args:
  434.            - -rtsp_transport
  435.             - tcp
  436.             - -timeout
  437.             - '9000000'
  438.           roles:
  439.            - detect
  440.             - record
  441.     detect:
  442.       width: 1280
  443.       height: 720
  444.       fps: 10
  445.       stationary:
  446. #          interval: 0
  447.         threshold: 50
  448.     objects:
  449.       track:
  450.        - person
  451.         - dog
  452.         - cat
  453.         - umbrella
  454.       filters:
  455.         person:
  456.           threshold: 0.70
  457.         dog:
  458.           threshold: 0.70
  459.         car:
  460.           mask: 0.351,0.037,0.544,0.065,0.727,0.098,0.735,0,0.187,0,0.197,0.104,0.25,0.065
  461.     snapshots:
  462.       enabled: true
  463.       bounding_box: false
  464.       retain:
  465.         default: 5
  466.     record:
  467.       enabled: true
  468.       retain:
  469.         days: 5
  470.         mode: motion
  471.     zones:
  472.       sideyard_detection_zone:
  473.         coordinates:
  474.           0.067,0.308,0.025,0.289,0.196,0.137,0.2,0.157,0.287,0.081,0.414,0.09,0.562,0.109,0.738,0.159,0.656,1,0,1,0,0.403
  475.         objects:
  476.          - person
  477.           - dog
  478.           - cat
  479.           - umbrella
  480.         inertia: 3
  481.         loitering_time: 0
  482.     motion:
  483.       mask: 0.723,0.978,0.722,0.94,0.973,0.937,0.974,0.975
  484.     review:
  485.       alerts:
  486.         required_zones: sideyard_detection_zone
  487.       detections:
  488.         required_zones: sideyard_detection_zone
  489. semantic_search:
  490.   enabled: true
  491.   reindex: false
  492.   model_size: small
Advertisement
Add Comment
Please, Sign In to add comment