Advertisement
Guest User

Untitled

a guest
Mar 20th, 2025
1,400
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.28 KB | Source Code | 0 0
  1. mqtt:
  2. enabled: true
  3. host: mqtt / home assistant ip
  4. port: 1883
  5. topic_prefix: frigate
  6. client_id: frigate
  7. user: username
  8. password: password
  9.  
  10. snapshots:
  11. enabled: true
  12. retain:
  13. default: 2
  14.  
  15. birdseye:
  16. enabled: true
  17. mode: continuous
  18. quality: 6
  19.  
  20. database:
  21. path: /config/frigate.db
  22.  
  23. go2rtc:
  24. streams:
  25. reolink_rtsp_main:
  26. - rtsp://username:password@cameraip:554/Preview_01_main
  27.  
  28. cameras:
  29. reolink_rtsp:
  30. ffmpeg:
  31. hwaccel_args: []
  32. inputs:
  33. # Main stream (for recording)
  34. - path: "rtsp://frigateip:8554/reolink_rtsp_main"
  35. input_args: preset-rtsp-restream
  36. roles:
  37. - record
  38. - detect
  39.  
  40. onvif:
  41. host: 192.168.0.x #camera ip
  42. port: 8000
  43. user: username
  44. password: password
  45. detect:
  46. enabled: true
  47. width: 640 # Adjust based on your sub stream's resolution
  48. height: 420 # Adjust based on your sub stream's resolution
  49. record:
  50. enabled: true
  51. retain:
  52. days: 5
  53. mode: all
  54. events:
  55. retain:
  56. default: 7
  57. mode: active_objects
  58. objects:
  59. car: 1
  60. person: 3
  61. dog: 1
  62. cat: 1
  63. bicycle: 2
  64. motorcycle: 1
  65.  
  66.  
  67. motion:
  68. threshold: 35
  69. lightning_threshold: 0.8
  70. contour_area: 10
  71. improve_contrast: 'true'
  72. zones:
  73. drive:
  74. coordinates:
  75. 0.868,0.508,0.567,0.525,0.17,0.555,0.085,0.741,0.335,0.779,0.574,0.772,0.593,0.926,0.847,0.928,0.994,0.93,1,0.824,0.996,0.728,0.97,0.636,0.924,0.571,0.9,0.546
  76. inertia: 3
  77. loitering_time: 0
  78. objects:
  79. - person
  80. - car
  81. - dog
  82. - cat
  83. - bicycle
  84. - motorcycle
  85. road:
  86. coordinates:
  87. 0.402,0.371,0,0.471,0,0.376,0.142,0.303,0.258,0.257,0.449,0.191,0.555,0.175,0.739,0.168,0.906,0.195,1,0.23,1,0.36,0.748,0.352
  88. inertia: 3
  89. loitering_time: 0
  90. objects:
  91. - bicycle
  92. - car
  93. - cat
  94. - dog
  95. - motorcycle
  96. - person
  97. far_path:
  98. coordinates:
  99. 0.594,0.066,0.744,0.067,0.925,0.109,0.998,0.171,0.998,0.194,0.998,0.213,0.954,0.199,0.855,0.171,0.765,0.164,0.668,0.155,0.589,0.165,0.47,0.186,0.26,0.246,0.016,0.356,0.037,0.272,0.181,0.175,0.392,0.089
  100. inertia: 3
  101. loitering_time: 0
  102. near_path:
  103. coordinates:
  104. 0.365,0.376,0.01,0.469,0,0.536,0.322,0.502,0.764,0.473,0.995,0.48,1,0.369,0.877,0.354,0.583,0.357
  105.  
  106. inertia: 3
  107. loitering_time: 0
  108. objects:
  109. - bicycle
  110. - car
  111. - cat
  112. - dog
  113. - motorcycle
  114. - person
  115. review:
  116. alerts:
  117. required_zones:
  118. - drive
  119. - far_path
  120. - near_path
  121. - road
  122. detectors:
  123. ov:
  124. type: openvino
  125. device: AUTO
  126. model:
  127. path: /openvino-model/FP16/ssdlite_mobilenet_v2.xml
  128.  
  129. model:
  130. width: 300
  131. height: 300
  132. input_tensor: nhwc
  133. input_pixel_format: bgr
  134. labelmap_path: /openvino-model/coco_91cl_bkgr.txt
  135.  
  136. objects:
  137. track:
  138. - person
  139. - car
  140. - bicycle
  141. - motorcycle
  142. - cat
  143. - dog
  144. version: 0.14
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement