Guest User

frigate_config.yml

a guest
Oct 19th, 2025
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.59 KB | None | 0 0
  1. tls:
  2. enabled: False
  3.  
  4. # Optional: Telemetry configuration
  5. telemetry:
  6. # Optional: Enabled network interfaces for bandwidth stats monitoring (default: empty list, let nethogs search all)
  7. #network_interfaces:
  8. #- eth
  9. #- enp
  10. #- eno
  11. #- ens
  12. #- wl
  13. #- lo
  14. # Optional: Configure system stats
  15. #stats:
  16. # Optional: Enable AMD GPU stats (default: shown below)
  17. #amd_gpu_stats: True
  18. # Optional: Enable Intel GPU stats (default: shown below)
  19. #intel_gpu_stats: True
  20. # Optional: Treat GPU as SR-IOV to fix GPU stats (default: shown below)
  21. #intel_gpu_device: None
  22. # Optional: Enable network bandwidth stats monitoring for camera ffmpeg processes, go2rtc, and object detectors. (default: shown below)
  23. # NOTE: The container must either be privileged or have cap_net_admin, cap_net_raw capabilities enabled.
  24. #network_bandwidth: False
  25. # Optional: Enable the latest version outbound check (default: shown below)
  26. # NOTE: If you use the Home Assistant integration, disabling this will prevent it from reporting new versions
  27. version_check: true
  28.  
  29. # Optional
  30. ui:
  31. # Optional: Set a timezone to use in the UI (default: use browser local time)
  32. # timezone: America/Denver
  33. # Optional: Set the time format used.
  34. # Options are browser, 12hour, or 24hour (default: shown below)
  35. time_format: browser
  36. # Optional: Set the date style for a specified length.
  37. # Options are: full, long, medium, short
  38. # Examples:
  39. # short: 2/11/23
  40. # medium: Feb 11, 2023
  41. # full: Saturday, February 11, 2023
  42. # (default: shown below).
  43. date_style: short
  44. # Optional: Set the time style for a specified length.
  45. # Options are: full, long, medium, short
  46. # Examples:
  47. # short: 8:14 PM
  48. # medium: 8:15:22 PM
  49. # full: 8:15:22 PM Mountain Standard Time
  50. # (default: shown below).
  51. time_style: medium
  52. # Optional: Ability to manually override the date / time styling to use strftime format
  53. # https://www.gnu.org/software/libc/manual/html_node/Formatting-Calendar-Time.html
  54. # possible values are shown above (default: not set)
  55. #strftime_fmt: "%Y/%m/%d %H:%M"
  56. # Optional: Set the unit system to either "imperial" or "metric" (default: metric)
  57. # Used in the UI and in MQTT topics
  58. unit_system: metric
  59.  
  60. # Include all cameras by default in Birdseye view
  61. birdseye:
  62. enabled: true
  63. mode: motion
  64.  
  65. ffmpeg:
  66. path: '7.0'
  67. hwaccel_args: preset-rkmpp
  68.  
  69. detect:
  70. enabled: true
  71.  
  72. detectors: # required
  73. rknn: # required
  74. type: rknn # required
  75. # number of NPU cores to use
  76. # 0 means choose automatically
  77. # increase for better performance if you have a multicore NPU e.g. set to 3 on rk3588
  78. num_cores: 3
  79.  
  80. classification:
  81. bird:
  82. enabled: true
  83. threshold: 0.4
  84.  
  85. semantic_search:
  86. enabled: True
  87. model: "jinav1"
  88. model_size: small
  89.  
  90. # Optional: Configuration for face recognition capability
  91. # NOTE: enabled, min_area can be overridden at the camera level
  92. face_recognition:
  93. # Optional: Enable face recognition (default: shown below)
  94. enabled: true
  95. # Optional: Minimum face detection score required to detect a face (default: shown below)
  96. # NOTE: This only applies when not running a Frigate+ model
  97. detection_threshold: 0.5
  98. # Optional: Minimum face distance score required to mark as a potential match (default: shown below)
  99. unknown_score: 0.6
  100. # Optional: Minimum face distance score required to be considered a match (default: shown below)
  101. recognition_threshold: 0.7
  102. # Optional: Min area of detected face box to consider running face recognition (default: shown below)
  103. min_area: 480
  104. # Optional: Min face recognitions for the sub label to be applied to the person object (default: shown below)
  105. min_faces: 1
  106. # Optional: Number of images of recognized faces to save for training (default: shown below)
  107. save_attempts: 100
  108. # Optional: Apply a blur quality filter to adjust confidence based on the blur level of the image (default: shown below)
  109. blur_confidence_filter: true
  110. # Optional: Set the model size used face recognition. (default: shown below)
  111. model_size: small
  112.  
  113. lpr:
  114. enabled: false
  115.  
  116. audio:
  117. enabled: true
  118. listen:
  119. - bark
  120. - fire_alarm
  121. - scream
  122. - speech
  123. - yell
  124.  
  125. record:
  126. enabled: true
  127. retain:
  128. days: 3
  129. mode: all
  130. alerts:
  131. retain:
  132. days: 15
  133. mode: motion
  134. detections:
  135. retain:
  136. days: 16
  137. mode: motion
  138.  
  139. # Optional: Review configuration
  140. # NOTE: Can be overridden at the camera level
  141. review:
  142. # Optional: alerts configuration
  143. alerts:
  144. # Optional: enables alerts for the camera (default: shown below)
  145. enabled: true
  146. # Optional: labels that qualify as an alert (default: shown below)
  147. labels:
  148. - car
  149. - cat
  150. - dog
  151. - person
  152. - speech
  153. # Optional: detections configuration
  154. detections:
  155. # Optional: enables detections for the camera (default: shown below)
  156. enabled: true
  157. # Optional: labels that qualify as a detection (default: all labels that are tracked / listened to)
  158. #labels:
  159. #- car
  160. #- person
  161. # Optional: required zones for an object to be marked as a detection (default: none)
  162. # NOTE: when settings required zones globally, this zone must exist on all cameras
  163. # or the config will be considered invalid. In that case the required_zones
  164. # should be configured at the camera level.
  165. #required_zones:
  166. #- driveway
  167.  
  168. cameras:
  169. Hof: # <--- this will be changed to your actual camera later
  170. enabled: true
  171. ffmpeg:
  172. inputs:
  173. - path:
  174. rtsp://xxxxxxxxxxxxxxxxxxxxx/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif
  175. roles:
  176. - record
  177. - path:
  178. rtsp://xxxxxxxxxxxxxxxxxxxxx/cam/realmonitor?channel=1&subtype=1&unicast=true&proto=Onvif
  179. roles:
  180. - audio
  181. - detect
  182. zones: {}
  183. motion:
  184. mask: 0.69,0.054,0.689,0.097,0.962,0.097,0.962,0.056
  185. threshold: 32
  186. contour_area: 8
  187. improve_contrast: true
  188. review:
  189. detections: {}
  190. snapshots:
  191. # Optional: Enable writing jpg snapshot to /media/frigate/clips (default: shown below)
  192. enabled: true
  193. # Optional: save a clean PNG copy of the snapshot image (default: shown below)
  194. clean_copy: true
  195. # Optional: print a timestamp on the snapshots (default: shown below)
  196. timestamp: true
  197. # Optional: draw bounding box on the snapshots (default: shown below)
  198. bounding_box: true
  199. # Optional: crop the snapshot (default: shown below)
  200. crop: false
  201. # Optional: height to resize the snapshot to (default: original size)
  202. height: 480
  203. # Optional: Restrict snapshots to objects that entered any of the listed zones (default: no required zones)
  204. required_zones: []
  205. # Optional: Camera override for retention settings (default: global values)
  206. retain:
  207. # Required: Default retention days (default: shown below)
  208. default: 15
  209. # Optional: Per object retention days
  210. objects:
  211. person: 30
  212. # Optional: quality of the encoded jpeg, 0-100 (default: shown below)
  213. quality: 80
  214.  
  215. model: # required
  216. # name of model (will be automatically downloaded) or path to your own .rknn model file
  217. # possible values are:
  218. # - deci-fp16-yolonas_s
  219. # - deci-fp16-yolonas_m
  220. # - deci-fp16-yolonas_l
  221. # your yolonas_model.rknn
  222. path: deci-fp16-yolonas_m
  223. model_type: yolonas
  224. width: 320
  225. height: 320
  226. input_pixel_format: bgr
  227. input_tensor: nhwc
  228. labelmap_path: /labelmap/coco-80.txt
  229.  
  230. camera_groups:
  231. Birdseye:
  232. order: 1
  233. icon: LuBird
  234. cameras: birdseye
  235. version: 0.16-0
  236.  
Advertisement
Add Comment
Please, Sign In to add comment