Advertisement
khisanthax

frigate config

Dec 17th, 2023
279
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.78 KB | None | 0 0
  1. mqtt:
  2. host: 192.168.2.40
  3.  
  4. detectors:
  5. coral_pci:
  6. type: edgetpu
  7. device: pci
  8. # cpu1:
  9. # type: cpu
  10. # num_threads: 3
  11.  
  12. go2rtc:
  13. streams:
  14. #FrontDoor1:
  15. # - rtsp://#:##@192.168.60.28:554/h264Preview_01_sub
  16. #GarageDoor1:
  17. # - rtsp://#:#[email protected]:554/cam/realmonitor?channel=1&subtype=0
  18. Backyard1:
  19. - rtsp://#:#@192.168.60.25:554/cam/realmonitor?channel=1&subtype=0
  20. Trampoline1:
  21. - rtsp://#:#@192.168.60.33:554/cam/realmonitor?channel=1&subtype=0
  22. #MasterBedroom1:
  23. # - rtsp://#:#@192.168.60.23:554/cam/realmonitor?channel=1&subtype=0
  24. MasterBedroom1:
  25. - rtsp://#:#@192.168.60.34:554/cam/realmonitor?channel=1&subtype=0
  26. Driveway1:
  27. - rtsp://#:#@192.168.60.32:554/cam/realmonitor?channel=1&subtype=1
  28. Officetable1:
  29. - rtsp://#:#@192.168.60.22:554/cam/realmonitor?channel=1&subtype=0e
  30. OfficePlay1:
  31. - rtsp://#:#@192.168.60.30:88/videoMain
  32. Videotable1:
  33. - rtsp://#:#@192.168.60.26:554/cam/realmonitor?channel=1&subtype=0
  34. AriBedroom1:
  35. - rtsp://#:#@192.168.60.36:88/videoMain
  36. Livingroom1:
  37. - rtsp://#:#@192.168.60.24:554/cam/realmonitor?channel=1&subtype=0
  38. Kitchen1:
  39. - rtsp://#:#@192.168.60.23:554/cam/realmonitor?channel=1&subtype=0
  40. Guestbasement1:
  41. - rtsp://#:#@192.168.2.91:554/live/ch1
  42. Playroom1:
  43. - rtsp://#:#@192.168.60.35:554/cam/realmonitor?channel=1&subtype=0
  44. webrtc:
  45. candidates:
  46. - 192.168.2.40:8555
  47. - stun:8555
  48.  
  49. birdseye:
  50. enabled: True
  51. mode: objects
  52.  
  53. ffmpeg:
  54. hwaccel_args: preset-nvidia-h264
  55.  
  56. snapshots:
  57. # Optional: Enable writing jpg snapshot to /media/frigate/clips (default: shown below)
  58. # This value can be set via MQTT and will be updated in startup based on retained value
  59. enabled: True
  60. # Optional: save a clean PNG copy of the snapshot image (default: shown below)
  61. clean_copy: false
  62. # Optional: print a timestamp on the snapshots (default: shown below)
  63. timestamp: False
  64. # Optional: draw bounding box on the snapshots (default: shown below)
  65. bounding_box: False
  66. # Optional: crop the snapshot (default: shown below)
  67. crop: false
  68. # Optional: height to resize the snapshot to (default: original size)
  69. # height: 720
  70. retain:
  71. default: 7
  72.  
  73. #objects:
  74. # track:
  75. # - person
  76. # - car
  77. # filters:
  78. # person:
  79. # threshold: .7
  80. # min_score: .7
  81. # max_ratio: 1.7
  82. # car:
  83. # min_area: 60000
  84.  
  85. cameras:
  86. FrontDoor1:
  87. mqtt:
  88. bounding_box: false
  89. crop: true
  90. height: 1080
  91. quality: 100
  92. ffmpeg:
  93. inputs:
  94. - path: "rtsp://admin:##########@192.168.60.28:554/h264Preview_01_sub" # "rtsp://127.0.0.1:8554/FrontDoor1"
  95. roles:
  96. - detect
  97. record:
  98. enabled: True
  99. retain:
  100. days: 7
  101. mode: active_objects
  102. events:
  103. retain:
  104. default: 14
  105. mode: active_objects
  106. required_zones:
  107. - frontdoorz1
  108. snapshots:
  109. enabled: true
  110. detect:
  111. width: 1536
  112. height: 576
  113. fps: 5
  114. max_disappeared: 25
  115. zones:
  116. frontdoorz1:
  117. coordinates: 1187,189,1368,378,1304,408,1246,360,1139,336,1261,576,519,576,526,273,377,278,227,207,379,80,592,52,855,64,1007,110
  118. # objects:
  119. # - person
  120. filters:
  121. person:
  122. threshold: .7
  123. min_score: .7
  124. max_ratio: 1.7
  125. motion:
  126. mask:
  127. - 0,576,0,173,257,410,464,576
  128. - 355,88,545,58,753,58,765,0,0,0,0,363
  129. - 1390,0,865,0,849,69,1044,115,1103,136,1221,208,1324,264,1536,250,1536,0
  130. - 269,0,515,0,515,258,287,256
  131. threshold: 30
  132. contour_area: 30
  133. objects:
  134. track:
  135. - person
  136. filters:
  137. person:
  138. min_area: 5000
  139. mask:
  140. - 269,0,515,0,515,258,287,256
  141. - 1480,301,1394,465,1299,499,1079,177,1115,109,1190,150
  142.  
  143. GarageDoor1:
  144. mqtt:
  145. bounding_box: false
  146. crop: true
  147. height: 2688
  148. quality: 100
  149. ffmpeg:
  150. inputs:
  151. - path: "rtsp://admin######@192.168.60.21:554/cam/realmonitor?channel=1&subtype=0" #"rtsp://127.0.0.1:8554/GarageDoor1"
  152. roles:
  153. - detect
  154. snapshots:
  155. enabled: true
  156. crop: false
  157. height: 2688
  158. required_zones:
  159. - Garagedoorz1
  160. record:
  161. events:
  162. required_zones:
  163. - Garagedoorz1
  164. detect:
  165. width: 1520
  166. height: 2688
  167. fps: 5
  168. zones:
  169. Garagedoorz1:
  170. coordinates: 1056,396,868,348,657,278,643,221,294,216,289,33,161,29,38,44,21,270,121,1335,110,2688,1039,2688,1520,2142,1520,1443,1520,575,1185,431
  171. motion:
  172. mask:
  173. - 1520,0,1520,494,1043,332,833,303,544,285,419,295,412,108,196,0,531,0
  174. # threshold: 30
  175. # contour_area: 35
  176. objects:
  177. track:
  178. - person
  179.  
  180. Livingroom1:
  181. mqtt:
  182. bounding_box: false
  183. crop: true
  184. height: 1080
  185. quality: 100
  186. ffmpeg:
  187. inputs:
  188. - path: "rtsp://127.0.0.1:8554/Livingroom1"
  189. roles:
  190. - detect
  191. snapshots:
  192. enabled: true
  193. crop: false
  194. height: 1080
  195. detect:
  196. width: 1920
  197. height: 1080
  198. fps: 5
  199. max_disappeared: 25
  200. zones:
  201. Lrsofa1:
  202. coordinates: 0,1080,98,675,1418,686,1664,1080
  203. # object:
  204. # - person
  205. motion:
  206. mask:
  207. - 341,441,327,570,1405,568,1405,427
  208. # threshold: 25
  209. # contour_area: 30
  210. objects:
  211. track:
  212. - person
  213. filters:
  214. person:
  215. threshold: .65
  216. min_score: .65
  217. min_area: 15000
  218.  
  219. Kitchen1:
  220. mqtt:
  221. bounding_box: false
  222. crop: true
  223. height: 1080
  224. quality: 100
  225. ffmpeg:
  226. inputs:
  227. - path: "rtsp://127.0.0.1:8554/Kitchen1"
  228. roles:
  229. - detect
  230. snapshots:
  231. enabled: true
  232. crop: false
  233. height: 1080
  234. detect:
  235. width: 1920
  236. height: 1080
  237. fps: 5
  238. max_disappeared: 25
  239. #zones:
  240. # Lrsofa1:
  241. # coordinates: 0,1080,98,675,1418,686,1664,1080
  242. # object:
  243. # - person
  244. #motion:
  245. # mask:
  246. # - 341,441,327,570,1405,568,1405,427
  247. # # threshold: 25
  248. # # contour_area: 30
  249. objects:
  250. track:
  251. - person
  252. filters:
  253. person:
  254. threshold: .65
  255. min_score: .65
  256. min_area: 15000
  257.  
  258. MasterBedroom1:
  259. mqtt:
  260. bounding_box: false
  261. crop: true
  262. height: 1080
  263. quality: 100
  264. ffmpeg:
  265. inputs:
  266. - path: "rtsp://127.0.0.1:8554/MasterBedroom1"
  267. roles:
  268. - detect
  269. snapshots:
  270. enabled: false
  271. detect:
  272. width: 1920
  273. height: 1080
  274. fps: 5
  275. # max_disappeared: 25
  276. zones:
  277. MBRmainbed:
  278. coordinates: 1512,450,1395,309,828,265,743,287,690,673,1658,734
  279. objects:
  280. - person
  281. MBRspace:
  282. coordinates: 81,1080,607,1057,653,483,307,451
  283. objects:
  284. - person
  285. motion:
  286. mask:
  287. - 0,0,199,0,184,241,202,551,126,771,0,1080
  288. # - 320,0,296,403,434,295,545,310,581,0
  289. objects:
  290. mask:
  291. - 0,0,199,0,184,241,202,551,126,771,0,1080
  292. # - 320,0,296,403,434,295,545,310,581,0
  293. track:
  294. - person
  295. filters:
  296. person:
  297. min_score: .60
  298. threshold: .60
  299. min_area: 50000
  300. # max_ratio: 1.7
  301.  
  302. AriBedroom1:
  303. mqtt:
  304. bounding_box: false
  305. crop: true
  306. height: 1080
  307. quality: 100
  308. ffmpeg:
  309. inputs:
  310. - path: "rtsp://127.0.0.1:8554/AriBedroom1"
  311. roles:
  312. - detect
  313. snapshots:
  314. enabled: true
  315. required_zones:
  316. - aribed1
  317. record:
  318. events:
  319. required_zones:
  320. - aribed1
  321. detect:
  322. width: 1920
  323. height: 1080
  324. fps: 5
  325. max_disappeared: 25
  326. # motion:
  327. # mask:
  328. # - 816,69,824,485,639,510,625,73
  329. zones:
  330. aribed1:
  331. coordinates: 1024,433,1133,1080,0,1080,0,801,251,434
  332. # object:
  333. # - person
  334. objects:
  335. track:
  336. - person
  337.  
  338. Driveway1:
  339. mqtt:
  340. bounding_box: false
  341. crop: true
  342. height: 1080
  343. quality: 100
  344. ffmpeg:
  345. inputs:
  346. - path: "rtsp://127.0.0.1:8554/Driveway1"
  347. roles:
  348. - detect
  349. snapshots:
  350. enabled: true
  351. required_zones:
  352. - mikesdriveway1
  353. - teesdriveway1
  354. record:
  355. events:
  356. required_zones:
  357. - mikesdriveway1
  358. - teesdriveway1
  359. detect:
  360. width: 1920
  361. height: 1080
  362. fps: 5
  363. max_disappeared: 25
  364. zones:
  365. teesdriveway1:
  366. coordinates: 760,746,195,744,271,502,619,514
  367. mikesdriveway1:
  368. coordinates: 812,617,812,701,921,883,1587,1013,1858,1005,1852,700,1173,645
  369. motion:
  370. mask:
  371. - 668,0,0,0,0,344,313,189,615,94
  372. - 1920,0,1920,309,1738,230,1576,0
  373. - 1763,536,1619,317,0,263,0,481 # street no motion
  374. threshold: 50
  375. contour_area: 30
  376. objects:
  377. track:
  378. - car
  379. filters:
  380. car:
  381. min_score: .6
  382. threshold: .60
  383. min_area: 60000
  384.  
  385. Officetable1:
  386. mqtt:
  387. bounding_box: false
  388. crop: true
  389. height: 1080
  390. quality: 100
  391. ffmpeg:
  392. inputs:
  393. - path: "rtsp://127.0.0.1:8554/Officetable1"
  394. roles:
  395. - detect
  396. # record:
  397. # events:
  398. # required_zones:
  399. # - mikesdesk
  400. # - teesdesk
  401. snapshots:
  402. enabled: true
  403. detect:
  404. width: 1920
  405. height: 1080
  406. fps: 5
  407. # stationary:
  408. # interval: 0
  409. # threshold: 25
  410. # max_disappeared: 25
  411. zones:
  412. mikesdesk:
  413. coordinates: 1524,281,1170,269,912,1080,1920,1080
  414. # objects:
  415. # - person
  416. teesdesk:
  417. coordinates: 0,1080,855,1080,577,230,174,223
  418. # objects:
  419. # - person
  420. motion:
  421. mask:
  422. - 1436,48,1439,111,1857,109,1853,42
  423. # threshold: 30
  424. # contour_area: 35
  425. objects:
  426. track:
  427. - person
  428. filters:
  429. person:
  430. threshold: .7
  431. min_score: .7
  432. min_area: 400000
  433.  
  434. OfficePlay1:
  435. mqtt:
  436. bounding_box: false
  437. crop: true
  438. height: 1080
  439. quality: 100
  440. ffmpeg:
  441. inputs:
  442. - path: "rtsp://127.0.0.1:8554/OfficePlay1"
  443. roles:
  444. - detect
  445. snapshots:
  446. enabled: true
  447. detect:
  448. width: 1920
  449. height: 1080
  450. fps: 5
  451. zones:
  452. ToyMat1:
  453. coordinates: 1356,563,941,564,974,735,1617,730
  454. # objects:
  455. # - person
  456. PlayMat2:
  457. coordinates: 1590,730,1752,649,1920,753,1920,1080,1074,1080,982,735
  458. # objects:
  459. # - person
  460. LivingMat3:
  461. coordinates: 967,622,441,635,409,675,368,740,0,712,0,1080,1083,1080
  462. # objects:
  463. # - person
  464. OfficeDoor1:
  465. coordinates: 0,738,102,738,99,540,247,500,247,439,289,436,286,154,0,160,0,274,0,418
  466. # objects:
  467. # - person
  468. motion:
  469. mask:
  470. - 365,155,356,408,793,412,796,154
  471. objects:
  472. mask:
  473. - 365,155,356,408,793,412,796,154
  474. track:
  475. - person
  476. filters:
  477. person:
  478. min_area: 1000
  479.  
  480. Videotable1:
  481. mqtt:
  482. bounding_box: false
  483. crop: true
  484. height: 1080
  485. quality: 100
  486. ffmpeg:
  487. inputs:
  488. - path: "rtsp://127.0.0.1:8554/Videotable1"
  489. roles:
  490. - detect
  491. snapshots:
  492. enabled: true
  493. detect:
  494. width: 1920
  495. height: 1080
  496. fps: 5
  497. stationary:
  498. # interval: 0
  499. threshold: 50
  500. max_disappeared: 25
  501. zones:
  502. videodesk:
  503. coordinates: 1441,526,792,538,452,1030,1593,1017
  504. # objects:
  505. # - person
  506. filters:
  507. person:
  508. threshold: .8
  509. min_score: .8
  510. max_ratio: 1.7
  511. videodoor:
  512. coordinates: 509,713,317,1080,0,1080,0,0,346,0
  513. # objects:
  514. # - person
  515. # motion:
  516. # mask:
  517. # - 468,0,464,21,640,21,640,0
  518. objects:
  519. track:
  520. - person
  521.  
  522. Backyard1:
  523. mqtt:
  524. bounding_box: false
  525. crop: true
  526. height: 1080
  527. quality: 100
  528. ffmpeg:
  529. inputs:
  530. - path: "rtsp://127.0.0.1:8554/Backyard1"
  531. roles:
  532. - detect
  533. snapshots:
  534. enabled: true
  535. detect:
  536. width: 1920
  537. height: 1080
  538. fps: 5
  539. zones:
  540. Garagedoorz1:
  541. coordinates: 1038,80,786,72,456,21,43,152,0,210,0,364,202,497,282,472,502,600,759,720,1280,720,1280,515,1280,142
  542. motion:
  543. mask:
  544. - 1920,0,1920,138,1604,51,1175,0
  545. - 0,220,515,124,660,22,658,0,0,0
  546. - 0,1080,859,1080,878,917,811,738,721,676,628,653,447,617,212,616,0,676
  547. # threshold: 30
  548. # contour_area: 35
  549. objects:
  550. track:
  551. - person
  552.  
  553. Playroom1:
  554. mqtt:
  555. bounding_box: false
  556. crop: true
  557. height: 1080
  558. quality: 100
  559. ffmpeg:
  560. inputs:
  561. - path: "rtsp://127.0.0.1:8554/Playroom1"
  562. roles:
  563. - detect
  564. snapshots:
  565. enabled: true
  566. detect:
  567. width: 1920
  568. height: 1080
  569. fps: 5
  570. motion:
  571. mask:
  572. - 1414,0,1411,42,1920,52,1920,0
  573. # threshold: 70
  574. # contour_area: 30
  575. objects:
  576. track:
  577. - person
  578.  
  579. Guestbasement1:
  580. mqtt:
  581. bounding_box: false
  582. crop: true
  583. height: 1080
  584. quality: 100
  585. ffmpeg:
  586. inputs:
  587. - path: "rtsp://127.0.0.1:8554/Guestbasement1"
  588. roles:
  589. - detect
  590. snapshots:
  591. enabled: true
  592. detect:
  593. width: 1920
  594. height: 1080
  595. fps: 5
  596. motion:
  597. mask:
  598. - 1414,0,1411,42,1920,52,1920,0
  599. # threshold: 70
  600. # contour_area: 30
  601. objects:
  602. track:
  603. - person
  604. # filters:
  605. # person:
  606. # threshold: .75
  607. # min_score: .6
  608. # min_area: 8000
  609. # max_ratio: 1.7
  610.  
  611.  
  612. Trampoline1:
  613. mqtt:
  614. bounding_box: false
  615. crop: true
  616. height: 1080
  617. quality: 100
  618. ffmpeg:
  619. inputs:
  620. - path: "rtsp://127.0.0.1:8554/Trampoline1"
  621. roles:
  622. - detect
  623. snapshots:
  624. enabled: true
  625. detect:
  626. width: 2960
  627. height: 1668
  628. fps: 5
  629. # motion:
  630. # mask:
  631. # - 1237,23,1240,62,955,63,956,25
  632. # threshold: 30
  633. # contour_area: 35
  634. objects:
  635. track:
  636. - person
  637.  
  638.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement