p33j4y

FRIGATE: config.yml

Aug 27th, 2024 (edited)
288
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 7.56 KB | None | 0 0
  1. #################### systemowe #################################################
  2. mqtt:
  3.   host: ***
  4.   port: ***
  5.   topic_prefix: ***
  6.   client_id: ***
  7.   user: ***
  8.   password: ***
  9.   stats_interval: 60
  10.  
  11. #################### ogólne ####################################################
  12. environment_vars:
  13.   LIBVA_DRIVER_NAME: iHD
  14.  
  15. live:
  16.   height: 512
  17.   quality: 15
  18.  
  19. timestamp_style:
  20.   position: tr
  21.   format: '%Y.%m.%d, %H:%M:%S'
  22.   color:
  23.     red: 255
  24.     green: 255
  25.     blue: 255
  26.   thickness: 2
  27.   effect: solid
  28.  
  29. camera_groups:
  30.   FRONT:
  31.     order: 1
  32.     icon: LuCar
  33.     cameras:
  34.      - 3_grg_garage
  35.       - 3_out_driveway
  36.  
  37. version: 0.16-0
  38.  
  39. #################### statystyki ################################################
  40. telemetry:
  41.   network_interfaces:
  42.    - eth
  43.     - enp
  44.     - eno
  45.     - ens
  46.     - wl
  47.     - lo
  48.   stats:
  49.     amd_gpu_stats: true
  50.     intel_gpu_stats: true
  51.     network_bandwidth: true
  52.   version_check: true
  53.  
  54. #################### detekcja i obiekty ########################################
  55. detect:
  56.   enabled: true
  57.   fps: 5
  58.   max_disappeared: 25
  59.   stationary:
  60.     interval: 50
  61.     threshold: 25
  62.  
  63. objects:
  64.   track:
  65.    - person
  66.     - car
  67.     - dog
  68.     - bicycle
  69.   filters:
  70.     person:
  71.       min_area: 4000
  72.       max_area: 70000
  73.       min_score: 0.5
  74.       threshold: 0.65
  75.     dog:
  76.       min_area: 800
  77.       max_area: 20000
  78.       min_score: 0.6
  79.       threshold: 0.5
  80.  
  81. motion:
  82.   threshold: 14
  83.   contour_area: 50
  84.   delta_alpha: 0.3
  85.   frame_height: 240
  86.   improve_contrast: true
  87.  
  88. detectors:
  89.   ov_auto:
  90.     type: openvino
  91.     device: GPU
  92.  
  93. model:
  94.   width: 300
  95.   height: 300
  96.   input_tensor: nhwc
  97.   input_pixel_format: bgr
  98.   path: /openvino-model/ssdlite_mobilenet_v2.xml
  99.   labelmap_path: /openvino-model/coco_91cl_bkgr.txt
  100.  
  101. face_recognition:
  102.   enabled: true
  103.   model_size: small
  104.   save_attempts: 25
  105.  
  106. lpr:
  107.   enabled: true
  108.   format: ^[A-Z0]{2} [0-9O]{3}[A-Z0]{2}$
  109.   match_distance: 1
  110.   known_plates:
  111.     Toytoy:
  112.      - ***
  113.  
  114. semantic_search:
  115.   enabled: false
  116.   reindex: true
  117.   model_size: small
  118.  
  119. #################### stream i zapis ############################################
  120. snapshots:
  121.   enabled: true
  122.   timestamp: true
  123.   bounding_box: true
  124.   crop: false
  125.   retain:
  126.     default: 7
  127.     objects:
  128.       person: 14
  129.  
  130. record:
  131.   enabled: true
  132.   retain:
  133.     days: 7
  134.     mode: active_objects
  135.   alerts:
  136.     retain:
  137.       days: 3
  138.     pre_capture: 10
  139.     post_capture: 10
  140.   detections:
  141.     retain:
  142.       days: 3
  143.     pre_capture: 10
  144.     post_capture: 10
  145.  
  146. ffmpeg:
  147.   hwaccel_args: preset-vaapi
  148.   output_args:
  149.     record: preset-record-generic
  150.  
  151. #################### birdseye ##################################################
  152. birdseye:
  153.   enabled: false
  154.   quality: 15
  155.   mode: continuous
  156.  
  157. #################### kamery ####################################################
  158. cameras:
  159. #################### podjazd
  160.   3_out_driveway:
  161.     birdseye:
  162.       order: 1
  163.     ffmpeg:
  164.       inputs:
  165.         - path: ***
  166.           roles:
  167.            - detect
  168.         - path: ***
  169.           roles:
  170.            - record
  171.     onvif:
  172.       host: ***
  173.       port: ***
  174.       user: ***
  175.       password: ***
  176.     best_image_timeout: 30
  177.     motion:
  178.       mask: 0,0.048,0.355,0.046,0.353,0,0,0.004
  179.       threshold: 18
  180.       contour_area: 44
  181.       improve_contrast: true
  182.     detect:
  183.       width: 640
  184.       height: 360
  185.     objects:
  186.       track:
  187.        - person
  188.         - car
  189.         - dog
  190.       filters:
  191.         car:
  192.           min_area: 15000
  193.           max_area: 125000
  194.         person:
  195.           min_area: 5000
  196.           max_area: 40000
  197.           min_score: 0.67
  198.           threshold: 0.65
  199.     zones:
  200.       3_out_driveway_car_zone:
  201.         coordinates: 0.226,0.47,0.497,0.366,0.983,0.997,0.301,0.999
  202.         loitering_time: 0
  203.         objects: car
  204.     review:
  205.       alerts: {}
  206.  
  207. #################### garaz
  208.   3_grg_garage:
  209.     lpr:
  210.       enabled: false
  211.     birdseye:
  212.       order: 2
  213.     ffmpeg:
  214.       inputs:
  215.         - path: ***
  216.           roles:
  217.            - detect
  218.         - path: ***
  219.           roles:
  220.            - record
  221.     best_image_timeout: 30
  222.     objects:
  223.       track:
  224.        - person
  225.         - car
  226.         - bicycle
  227.       filters:
  228.         bicycle:
  229.           min_area: 27000
  230.           max_area: 65000
  231.         car:
  232.           min_area: 100000
  233.           max_area: 125000
  234.           mask:
  235.            - 222,144,339,56,537,81,537,221,448,360,640,360,640,0,0,0,0,360,100,360,75,218
  236.         person:
  237.           min_area: 14000
  238.           max_area: 40000
  239.           min_score: 0.67
  240.           threshold: 0.65
  241.     zones:
  242.       3_grg_garage_peejay_zone:
  243.         coordinates: 69,200,47,107,113,22,284,35,294,151
  244.         object:
  245.          - bicycle
  246.       3_grg_garage_car_zone:
  247.         coordinates: 458,360,552,222,561,130,527,62,324,52,235,118,51,220,82,360
  248.         object:
  249.          - car
  250.           - person
  251.     motion:
  252.       mask:
  253.        - 0,34,178,32,176,0,0,0
  254.         - 27,162,79,360,0,360,0,0,33,0
  255.  
  256. #################### drzwi
  257.   3_out_entrance:
  258.     lpr:
  259.       enabled: false
  260.     birdseye:
  261.       order: 3
  262.     ffmpeg:
  263.       inputs:
  264.         - path: ***
  265.           roles:
  266.            - detect
  267.             - record
  268.       output_args:
  269.         record: preset-record-generic-audio-aac
  270.     best_image_timeout: 30
  271.     motion:
  272.       mask:
  273.         0.324,0.267,0.551,0,0,0,0,1,1,1,1,0,0.615,0,0.639,0.372,0.749,0.657,0.79,0.512,0.834,0.551,0.714,0.955,0.646,0.953,0.53,1,0.356,0.831,0.379,0.785,0.152,0.542
  274.     detect:
  275.       width: 1024
  276.       height: 768
  277.     objects:
  278.       track:
  279.        - person
  280.         - bicycle
  281.       filters:
  282.         person:
  283.           mask:
  284.             0.152,0.542,0.548,0,0,0,0,1,1,1,1,0,0.613,0,0.639,0.377,0.749,0.652,0.657,0.922,0.552,1,0.356,0.832,0.379,0.786
  285.           min_area: 13000
  286.           max_area: 70000
  287.     zones:
  288.       3_out_entrance_delivery_zone:
  289.         coordinates:
  290.           0.498,0.953,0.545,1,0.713,0.957,0.774,0.773,0.838,0.552,0.696,0.461
  291.         object:
  292.          - person
  293.         inertia: 3
  294.         loitering_time: 0
  295.  
  296. #################### salon
  297.   1_lvn_room:
  298.     lpr:
  299.       enabled: false
  300.     birdseye:
  301.       order: 4
  302.     ffmpeg:
  303.       inputs:
  304.         - path: ***
  305.           roles:
  306.            - detect
  307.         - path: ***
  308.           roles:
  309.            - record
  310.     best_image_timeout: 30
  311.     motion:
  312.       threshold: 15
  313.       contour_area: 20
  314.       frame_height: 100
  315.       improve_contrast: 'true'
  316.       mask:
  317.        - 0.3,0.298,0.344,0.284,0.344,0.165,0.292,0.182
  318.         - 0.888,0.421,0.909,0.195,0.738,0.149,0.731,0.353
  319.         - 0.021,0.04,0.267,0.042,0.266,0.093,0.023,0.087
  320.     detect:
  321.       enabled: false
  322.       width: 640
  323.       height: 368
  324.     objects:
  325.       track:
  326.        - person
  327.       filters:
  328.         person:
  329.           min_score: 0.75
  330.           min_area: 8000
  331.           max_area: 45000
  332.  
  333. #################### ogród
  334.   4_out_garden:
  335.     lpr:
  336.       enabled: false
  337.     birdseye:
  338.       order: 5
  339.     ffmpeg:
  340.       inputs:
  341.         - path: ***
  342.           roles:
  343.            - detect
  344.         - path: ***
  345.           roles:
  346.            - record
  347.     best_image_timeout: 30
  348.     motion:
  349.       mask:
  350.         0,1,0,0,1,0,1,1,0.871,1,0.669,0.14,0.569,0.082,0.499,0.088,0.367,0.112,0.348,0.242,0.32,0.377,0.188,1
  351.     detect:
  352.       width: 640
  353.       height: 352
  354.     objects:
  355.       track:
  356.        - person
  357.         - dog
  358.       filters:
  359.         person:
  360.           min_area: 12000
  361.           max_area: 22000
  362.         dog:
  363.           min_area: 800
  364.           max_area: 5000
  365.           min_score: 1
  366.           threshold: 0.5
  367.  
Advertisement