Advertisement
shatter71

frigate_config

Feb 15th, 2025
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.38 KB | None | 0 0
  1. mqtt:
  2. enabled: true
  3. host: X.X.X.X
  4. port: YYYY
  5. user: mqttusername
  6. password: password
  7. #topic_prefix: frigate
  8.  
  9. #birdseye:
  10. # enabled: true
  11. # mode: motion
  12.  
  13. detectors:
  14. coral:
  15. type: edgetpu
  16. device: usb
  17.  
  18. record:
  19. enabled: true
  20. alerts:
  21. retain:
  22. days: 15
  23. detections:
  24. retain:
  25. days: 15
  26. cameras:
  27. # Front Door ============================================================
  28. front_door:
  29. enabled: true
  30. ffmpeg:
  31. inputs:
  32. # Highres
  33. - path: rtsp://username:[email protected]:554/Streaming/Channels/701 # <--- the name here must match the name of the camera in restream
  34. #input_args: preset-rtsp-restream
  35. roles:
  36. - record
  37. # Lowres
  38. - path: rtsp://username:[email protected]:554/Streaming/Channels/702 # <--- the name here must match the name of the camera in restream
  39. #input_args preset-rtsp-restream
  40. roles:
  41. - detect
  42. detect:
  43. enabled: true # <---- disable detection until you have a working camera feed
  44. width: 704
  45. height: 480
  46. fps: 5
  47. objects:
  48. track:
  49. - person
  50. - cat
  51. - dog
  52. - bicycle
  53. - car
  54. - truck
  55. filters:
  56. person:
  57. min_score: 0.75
  58. snapshots:
  59. enabled: true
  60. bounding_box: true
  61. retain:
  62. default: 15
  63. motion:
  64. mask:
  65. - 0.065,0.031,0.592,0.034,0.592,0.09,0.062,0.092
  66. - 0.743,0.03,0.984,0.038,0.984,0.085,0.745,0.089
  67.  
  68. # Mailbox ============================================================
  69. mailbox:
  70. enabled: true
  71. ffmpeg:
  72. inputs:
  73. # Highres
  74. - path: rtsp://username:[email protected]:554/Streaming/Channels/501 # <--- the name here must match the name of the camera in restream
  75. #input_args: preset-rtsp-restream
  76. roles:
  77. - record
  78. # Lowres
  79. - path: rtsp://username:[email protected]:554/Streaming/Channels/502 # <--- the name here must match the name of the camera in restream
  80. #input_args preset-rtsp-restream
  81. roles:
  82. - detect
  83. detect:
  84. enabled: true # <---- disable detection until you have a working camera feed
  85. width: 640
  86. height: 480
  87. fps: 5
  88. objects:
  89. track:
  90. - person
  91. - cat
  92. - dog
  93. - bicycle
  94. - car
  95. - truck
  96. filters:
  97. #person:
  98. # min_score: 0.75
  99. car:
  100. mask: 0.737,0.108,0.461,0.096,0.47,0.005,0.72,0.005
  101. mask: 0.365,0,0.365,0.13,0.007,0.168,0.005,0.007
  102. snapshots:
  103. enabled: true
  104. bounding_box: true
  105. retain:
  106. default: 15
  107. motion:
  108. mask:
  109. - 0.06,0.028,0.356,0.027,0.356,0,0.06,0.002
  110. - 0.766,0.026,0.862,0.03,0.864,0,0.764,0
  111. - 0,0.369,0.178,0.177,0.339,0.138,0.347,0,0,0
  112.  
  113. # Front Walkway ============================================================
  114. front_walkway:
  115. enabled: true
  116. ffmpeg:
  117. inputs:
  118. # Highres
  119. - path: rtsp://username:[email protected]:554/Streaming/Channels/601 # <--- the name here must match the name of the camera in restream
  120. #input_args: preset-rtsp-restream
  121. roles:
  122. - record
  123. - detect
  124. # Lowres
  125. # - path: rtsp://username:[email protected]:554/Streaming/Channels/602 # <--- the name here must match the name of the camera in restream
  126. #input_args preset-rtsp-restream
  127. # roles:
  128. # - detect
  129. # Lowres
  130. #input_args preset-rtsp-restream
  131. detect:
  132. enabled: true # <---- disable detection until you have a working camera feed
  133. #width: 3840
  134. #height: 2160
  135. fps: 5
  136. objects:
  137. track:
  138. - person
  139. - cat
  140. - dog
  141. - bicycle
  142. - car
  143. - truck
  144. filters:
  145. person:
  146. min_score: 0.75
  147. car:
  148. mask: 0.01,0.233,0.094,0.173,0.113,0.179,0.112,0.199,0.014,0.265
  149. snapshots:
  150. enabled: true
  151. bounding_box: true
  152. retain:
  153. default: 15
  154. motion:
  155. mask:
  156. - 0.016,0.033,0.152,0.039,0.156,0.001,0.014,0.001
  157. - 0.673,0.001,0.777,0.009,0.779,0.033,0.674,0.043
  158.  
  159. # Driveway ============================================================
  160. driveway:
  161. enabled: true
  162. ffmpeg:
  163. inputs:
  164. # Highres
  165. - path: rtsp://username:[email protected]:554/Streaming/Channels/801 # <--- the name here must match the name of the camera in restream
  166. #input_args: preset-rtsp-restream
  167. roles:
  168. - record
  169. # Lowres
  170. - path: rtsp://username:[email protected]:554/Streaming/Channels/802 # <--- the name here must match the name of the camera in restream
  171. #input_args preset-rtsp-restream
  172. roles:
  173. - detect
  174. detect:
  175. enabled: true # <---- disable detection until you have a working camera feed
  176. width: 704
  177. height: 480
  178. fps: 5
  179. objects:
  180. track:
  181. - person
  182. - cat
  183. - dog
  184. - bicycle
  185. - car
  186. - truck
  187. filters:
  188. person:
  189. min_score: 0.75
  190. truck: {}
  191. car:
  192. mask: 0,0.313,0.402,0.289,0.402,0.177,0.397,0.034,0.245,0.05,0.079,0.062,0.002,0.098
  193. snapshots:
  194. enabled: true
  195. bounding_box: true
  196. retain:
  197. default: 15
  198. motion:
  199. mask:
  200. - 0.741,0.024,0.938,0.028,0.943,0.104,0.744,0.1
  201. - 0.507,0.017,0.577,0.024,0.577,0.093,0.512,0.094
  202. - 0.571,0.682,0.666,0.671,0.696,0.773,0.669,0.897,0.553,0.898,0.545,0.772
  203. threshold: 35
  204. contour_area: 10
  205. improve_contrast: 'true'
  206. backyard_north:
  207. enabled: true
  208. ffmpeg:
  209. inputs:
  210. # Highres
  211. - path: rtsp://username:[email protected]:554/Streaming/Channels/301 # <--- the name here must match the name of the camera in restream
  212. #input_args: preset-rtsp-restream
  213. roles:
  214. - record
  215. # Lowres
  216. - path: rtsp://username:[email protected]:554/Streaming/Channels/302 # <--- the name here must match the name of the camera in restream
  217. #input_args preset-rtsp-restream
  218. roles:
  219. - detect
  220. detect:
  221. enabled: true # <---- disable detection until you have a working camera feed
  222. width: 640
  223. height: 360
  224. fps: 5
  225. objects:
  226. track:
  227. - person
  228. - cat
  229. - dog
  230. - bicycle
  231. - car
  232. - truck
  233. #filters:
  234. # person:
  235. # min_score: 0.75
  236. snapshots:
  237. enabled: true
  238. bounding_box: true
  239. retain:
  240. default: 15
  241. motion:
  242. mask:
  243. - 0.055,0.019,0.356,0.028,0.359,0.078,0.053,0.083
  244. - 0.654,0.029,0.837,0.027,0.843,0.08,0.652,0.076
  245.  
  246. # Backyard South ============================================================
  247. backyard_south:
  248. enabled: true
  249. ffmpeg:
  250. inputs:
  251. # Highres
  252. - path: rtsp://username:[email protected]:554/Streaming/Channels/401 # <--- the name here must match the name of the camera in restream
  253. #input_args: preset-rtsp-restream
  254. roles:
  255. - record
  256. # Lowres
  257. - path: rtsp://username:[email protected]:554/Streaming/Channels/402 # <--- the name here must match the name of the camera in restream
  258. #input_args preset-rtsp-restream
  259. roles:
  260. - detect
  261. detect:
  262. enabled: true # <---- disable detection until you have a working camera feed
  263. width: 640
  264. height: 480
  265. fps: 5
  266. objects:
  267. track:
  268. - person
  269. - cat
  270. - dog
  271. - bicycle
  272. - car
  273. - truck
  274. #filters:
  275. # person:
  276. # min_score: 0.75
  277. snapshots:
  278. enabled: true
  279. bounding_box: true
  280. retain:
  281. default: 15
  282. motion:
  283. mask:
  284. - 0.052,0.024,0.356,0.034,0.359,0.065,0.058,0.071
  285. - 0.695,0.025,0.885,0.02,0.886,0.072,0.698,0.069
  286. version: 0.15-1
  287. #camera_groups:
  288. # Birdseye:
  289. # order: 1
  290. # icon: LuBird
  291. # cameras: birdseye
  292. # Front:
  293. # order: 2
  294. # icon: LuBringToFront
  295. # cameras:
  296. # - driveway
  297. # - front_door
  298. # - front_walkway
  299. # - mailbox
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement