Advertisement
Pogmothoin22

Untitled

Feb 17th, 2025
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.16 KB | None | 0 0
  1. mqtt:
  2.   host: 10.0.0.229
  3.   port: 1883
  4.   user: cctv
  5.   password: password
  6.   topic_prefix: frigate
  7.  
  8. tls:
  9.   enabled: false
  10.  
  11. ffmpeg:
  12.   hwaccel_args: preset-vaapi
  13.   output_args:
  14.     record: preset-record-generic-audio-copy
  15.  
  16. detectors:
  17.   coral:
  18.     type: edgetpu
  19.     device: usb
  20.  
  21. record:
  22.   enabled: true
  23.   sync_recordings: true
  24.   retain:
  25.     days: 14
  26.     mode: all
  27.   alerts:
  28.     retain:
  29.       days: 30
  30.     pre_capture: 3
  31.     post_capture: 15
  32.   detections:
  33.     retain:
  34.       days: 30
  35.     pre_capture: 3
  36.     post_capture: 15
  37. objects:
  38.   track:
  39.     - person
  40.     - face
  41.     - package
  42.     - umbrella
  43.     - car
  44.     - motorcycle
  45.     - bicycle
  46.     - amazon
  47.     - fedex
  48.     - ups
  49.     - dhl
  50.     - gls
  51.     - dpd
  52.     - an_post
  53.     - cow
  54.     - horse
  55.     - sheep
  56.     - deer
  57.     - fox
  58.   filters:
  59.     person:
  60.       min_area: 5000
  61.       max_area: 100000
  62.       min_score: 0.7
  63.  
  64. ###### Global Alerts ########
  65. review:
  66.   alerts:
  67.     labels:
  68.       - car
  69.       - person
  70.       - dpd
  71.       - gls
  72.       - an_post
  73.       - amazon
  74.       - fedex
  75.       - ups
  76.       - dhl
  77.       - motorcycle
  78.       - package
  79.       - umbrella
  80.  
  81. snapshots:
  82.   enabled: true
  83.   bounding_box: true
  84.   clean_copy: true
  85.   retain:
  86.     default: 30
  87.  
  88. go2rtc:
  89.   streams:
  90.     Front_Van:
  91.       - rtsp://admin:password@10.0.0.245/cam/realmonitor?channel=1&subtype=0
  92. #    Front_Van_sub:
  93. #      - rtsp://admin:password@10.0.0.245/cam/realmonitor?channel=1&subtype=2
  94.     Front_Car:
  95.       - rtsp://admin:password@10.0.0.244/cam/realmonitor?channel=1&subtype=0
  96. #    Front_Car-sub:
  97. #      - rtsp://admin:password@10.0.0.244/cam/realmonitor?channel=1&subtype=2
  98.     Rear_Door:
  99.       - rtsp://root:password@10.0.0.243/axis-media/media.amp?streamprofile=stream_1
  100. #    Rear_Door_sub:
  101. #      - rtsp://root:password@10.0.0.243/axis-media/media.amp?streamprofile=stream_2
  102.     Rear_Shed:
  103.       - rtsp://root:password@10.0.0.242/axis-media/media.amp?streamprofile=stream_1
  104. #    Rear_Shed_sub:
  105. #      - rtsp://root:password@10.0.0.242/axis-media/media.amp?streamprofile=stream_2
  106.  
  107. #birdseye:
  108. #  enabled: true
  109. #  mode: continuous
  110.  
  111. cameras:
  112.   Front_Van: # Front Van Cam *************************************************************************************
  113. #    birdseye:
  114. #      mode: objects
  115.     detect:
  116.       width: 1280
  117.       height: 720
  118.       fps: 5
  119.     snapshots:
  120.       enabled: true
  121.       timestamp: true
  122.       bounding_box: true
  123.     ffmpeg:
  124.       inputs:
  125.         - path: rtsp://127.0.0.1:8554/Front_Van
  126.           input_args: preset-rtsp-restream
  127.           roles:
  128.             - record
  129. #            - audio
  130.         - path: rtsp://admin:password@10.0.0.245/cam/realmonitor?channel=1&subtype=2
  131.           roles:
  132.             - detect
  133. #    audio:
  134. #      enabled: true
  135. #      min_volume: 1000
  136. #      listen:
  137. #        - bark
  138. #        - fire_alarm
  139. #        - scream
  140. #        - speech
  141. #        - yell
  142.     motion:
  143.       mask:
  144.         - 0.796,0,0.772,0.205,0.719,0.226,0.73,0.31,0.931,0.333,0.985,0
  145.         - 0,0,0,1,0.292,1,0.301,0
  146.         - 0.633,1,0.798,0.549,0.927,0,1,0,1,1
  147.       threshold: 40
  148.       contour_area: 20
  149.       improve_contrast: true
  150.     zones:
  151.       Front_Van_Zone:
  152.         coordinates:
  153.           0.281,0.198,0.359,0.193,0.391,0.037,0.56,0.049,0.607,0.214,0.886,0.226,0.787,0.576,0.635,1,0.27,1
  154.         loitering_time: 0
  155.         inertia: 3
  156.         objects:
  157.           - an_post
  158.           - bicycle
  159.           - deer
  160.           - cow
  161.           - dhl
  162.           - dpd
  163.           - fox
  164.           - gls
  165.           - horse
  166.           - motorcycle
  167.           - package
  168.           - person
  169.           - sheep
  170.           - umbrella
  171.       Front_Road_Zone1:
  172.         coordinates:
  173.           0.278,0,0.277,0.186,0.354,0.184,0.386,0.025,0.562,0.038,0.612,0.208,0.769,0.229,0.792,0.085,0.862,0.081,0.892,0
  174.         loitering_time: 0
  175.         objects:
  176.           - amazon
  177.           - fedex
  178.           - ups
  179.           - dhl
  180.           - gls
  181.           - dpd
  182.           - an_post
  183.           - cow
  184.           - horse
  185.           - sheep
  186.           - deer
  187.           - fox
  188.           - car
  189.           - bicycle
  190.           - motorcycle
  191.           - person
  192.           - umbrella
  193.         inertia: 3
  194.     review:
  195.       detections:
  196.         required_zones:
  197.           - Front_Van_Zone
  198.           - Front_Road_Zone1
  199.       alerts:
  200.         required_zones:
  201.           - Front_Van_Zone
  202.           - Front_Road_Zone1
  203.     objects:
  204.       filters:
  205.         car: {}
  206.   Front_Car: # Front Car Cam ***************************************************************************
  207. #    birdseye:
  208. #      mode: objects
  209.     detect:
  210.       width: 1280
  211.       height: 720
  212.       fps: 5
  213.     snapshots:
  214.       enabled: true
  215.       timestamp: true
  216.       bounding_box: true
  217.     ffmpeg:
  218.       inputs:
  219.         - path: rtsp://127.0.0.1:8554/Front_Car
  220.           roles:
  221.             - record
  222. #            - audio
  223.         - path: rtsp://admin:password@10.0.0.244/cam/realmonitor?channel=1&subtype=2
  224.           roles:
  225.             - detect
  226. #    audio:
  227. #      enabled: true
  228. #      min_volume: 1000
  229. #      listen:
  230. #        - bark
  231. #        - fire_alarm
  232. #        - scream
  233. #        - speech
  234. #        - yell
  235.     motion:
  236.       mask:
  237.         - 0.565,0.321,0.538,0.41,0.723,0.493,0.701,0.991,1,1,1,0.189,0.706,0.167,0.679,0.142,0.633,0.141,0.615,0.17,0.617,0.25
  238.         - 0,0.582,0.179,0.7,0.407,0.825,0.72,0.947,0.731,0.865,1,0.901,0.997,0.996,0.002,0.994
  239.         - 0,0.003,0.001,0.291,0.1,0.177,0.183,0.1,0.299,0.099,0.371,0.044,0.54,0.049,0.742,0.087,0.706,0.179,1,0.264,1,0,0.876,0,0.735,0
  240.       threshold: 40
  241.       contour_area: 25
  242.       improve_contrast: true
  243.     zones:
  244.       Front_Road_Zone2:
  245.         coordinates: 0.293,0.114,0.322,0.266,0.7,0.348,0.764,0,0.394,0
  246.         inertia: 3
  247.         loitering_time: 0
  248.         objects:
  249.           - amazon
  250.           - fedex
  251.           - ups
  252.           - dhl
  253.           - gls
  254.           - dpd
  255.           - an_post
  256.           - cow
  257.           - horse
  258.           - sheep
  259.           - deer
  260.           - fox
  261.           - bicycle
  262.           - car
  263.           - motorcycle
  264.           - person
  265.           - umbrella
  266.       Front_Car_Zone:
  267.         coordinates:
  268.           0,0.574,0,0.299,0.092,0.192,0.183,0.111,0.29,0.108,0.318,0.276,0.585,0.33,0.761,0.549,0.719,0.94,0.402,0.814,0.085,0.631
  269.         inertia: 3
  270.         loitering_time: 0
  271.         objects:
  272.           - an_post
  273.           - bicycle
  274.           - cow
  275.           - deer
  276.           - dhl
  277.           - dpd
  278.           - fox
  279.           - gls
  280.           - horse
  281.           - motorcycle
  282.           - person
  283.           - package
  284.           - sheep
  285.           - umbrella
  286.     review:
  287.       detections:
  288.         required_zones:
  289.           - Front_Road_Zone2
  290.           - Front_Car_Zone
  291.         labels: []
  292.       alerts:
  293.         required_zones:
  294.           - Front_Car_Zone
  295.           - Front_Road_Zone2
  296.     objects:
  297.       filters:
  298.         car: {}
  299.   Rear_Door: # Rear Door Cam **************************************************************************************************************************
  300. #    birdseye:
  301. #      mode: objects
  302.     detect:
  303.       width: 1280
  304.       height: 720
  305.       fps: 5
  306.     snapshots:
  307.       enabled: true
  308.       timestamp: true
  309.       bounding_box: true
  310.     ffmpeg:
  311.       inputs:
  312.         - path: rtsp://127.0.0.1:8554/Rear_Door
  313.           roles:
  314.             - record
  315. #            - audio
  316.         - path: rtsp://root:password@10.0.0.243/axis-media/media.amp?streamprofile=stream_2
  317.           roles:
  318.             - detect
  319. #    audio:
  320. #      enabled: true
  321. #      listen:
  322. #        - bark
  323. #        - fire_alarm
  324. #        - scream
  325. #        - speech
  326. #        - yell
  327.     motion:
  328.       mask:
  329.         - 1,0.285,0.718,1,1,1,1,0.874
  330.         - 1,0.322,0.692,0,1,0
  331.         - 0.411,0,0.468,0.058,0.695,0
  332.         - 0,0,0.106,0.005,0.151,0.319,0.324,0.994,0.001,0.999
  333.         - 0.77,0.647,0.749,0.767,0.81,0.79,0.849,0.686
  334.       threshold: 30
  335.       contour_area: 10
  336.       improve_contrast: 'true'
  337.     zones:
  338.       Rear_Door_Zone:
  339.         coordinates:
  340.           0.327,0.992,0.156,0.32,0.108,0.006,0.414,0.002,0.471,0.062,0.691,0.006,0.982,0.31,0.723,0.977
  341.         loitering_time: 0
  342.         inertia: 3
  343.         objects:
  344.           - person
  345.           - fox
  346.     review:
  347.       detections:
  348.         required_zones: Rear_Door_Zone
  349.       alerts:
  350.         required_zones: Rear_Door_Zone
  351.   Rear_Shed: # Rear Shed Cam ***************************************************************************************************************
  352. #    birdseye:
  353. #      mode: objects
  354.     detect:
  355.       width: 1280
  356.       height: 720
  357.       fps: 5
  358.     snapshots:
  359.       enabled: true
  360.       timestamp: true
  361.       bounding_box: true
  362.     ffmpeg:
  363.       inputs:
  364.         - path: rtsp://127.0.0.1:8554/Rear_Shed
  365.           roles:
  366.             - record
  367. #            - audio
  368.         - path: rtsp://root:password@10.0.0.242/axis-media/media.amp?streamprofile=stream_2
  369.           roles:
  370.             - detect
  371. #    audio:
  372. #      enabled: true
  373. #      listen:
  374. #        - bark
  375. #        - fire_alarm
  376. #        - scream
  377. #        - speech
  378. #        - yell
  379.     motion:
  380.       mask:
  381.         - 0.798,0,0.873,0.11,1,0.29,1,0
  382.         - 0.122,0.548,0,0.545,0.006,0,0.22,0.002
  383.     zones:
  384.       Rear_Shed_Zone:
  385.         coordinates: 0.002,0.992,0.004,0.55,0.123,0.55,0.225,0.002,0.797,0.002,0.998,0.3,0.998,0.994
  386.         loitering_time: 0
  387.         inertia: 3
  388.         objects:
  389.           - person
  390.           - fox
  391.     review:
  392.       detections:
  393.         required_zones: Rear_Shed_Zone
  394.       alerts:
  395.         required_zones: Rear_Shed_Zone
  396.         labels: []
  397. version: 0.15-1
  398. camera_groups:
  399.   Front:
  400.     order: 1
  401.     icon: LuCar
  402.     cameras:
  403.       - Front_Car
  404.       - Front_Van
  405.   Rear:
  406.     order: 2
  407.     icon: LuWarehouse
  408.     cameras:
  409.       - Rear_Door
  410.       - Rear_Shed
  411. #  Birdseye:
  412. #    order: 3
  413. #    icon: LuRotateCw
  414. #    cameras: birdseye
  415. semantic_search:
  416.   enabled: true
  417.   reindex: false
  418.   model_size: small
  419.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement