blakeblackshear.frigate/a62f9e4d.d5aba5b6.js

1 line
5.8 KiB
JavaScript
Raw Normal View History

(window.webpackJsonp=window.webpackJsonp||[]).push([[18],{89:function(e,t,n){"use strict";n.r(t),n.d(t,"frontMatter",(function(){return a})),n.d(t,"metadata",(function(){return i})),n.d(t,"toc",(function(){return l})),n.d(t,"default",(function(){return p}));var r=n(3),o=n(7),c=(n(0),n(99)),a={id:"detectors",title:"Detectors"},i={unversionedId:"configuration/detectors",id:"configuration/detectors",isDocsHomePage:!1,title:"Detectors",description:"The default config will look for a USB Coral device. If you do not have a Coral, you will need to configure a CPU detector. If you have PCI or multiple Coral devices, you need to configure your detector devices in the config file. When using multiple detectors, they run in dedicated processes, but pull from a common queue of requested detections across all cameras.",source:"@site/docs/configuration/detectors.md",slug:"/configuration/detectors",permalink:"/frigate/configuration/detectors",editUrl:"https://github.com/blakeblackshear/frigate/edit/master/docs/docs/configuration/detectors.md",version:"current",sidebar:"docs",previous:{title:"Optimizing performance",permalink:"/frigate/configuration/optimizing"},next:{title:"Reducing false positives",permalink:"/frigate/configuration/false_positives"}},l=[],u={toc:l};function p(e){var t=e.components,n=Object(o.a)(e,["components"]);return Object(c.b)("wrapper",Object(r.a)({},u,n,{components:t,mdxType:"MDXLayout"}),Object(c.b)("p",null,"The default config will look for a USB Coral device. If you do not have a Coral, you will need to configure a CPU detector. If you have PCI or multiple Coral devices, you need to configure your detector devices in the config file. When using multiple detectors, they run in dedicated processes, but pull from a common queue of requested detections across all cameras."),Object(c.b)("p",null,"Frigate supports ",Object(c.b)("inlineCode",{parentName:"p"},"edgetpu")," and ",Object(c.b)("inlineCode",{parentName:"p"},"cpu")," as detector types. The device value should be specified according to the ",Object(c.b)("a",Object(r.a)({parentName:"p"},{href:"https://coral.ai/docs/edgetpu/multiple-edgetpu/#using-the-tensorflow-lite-python-api"}),"Documentation for the TensorFlow Lite Python API"),"."),Object(c.b)("p",null,Object(c.b)("strong",{parentName:"p"},"Note"),": There is no support for Nvidia GPUs to perform object detection with tensorflow. It can be used for ffmpeg decoding, but not object detection."),Object(c.b)("p",null,"Single USB Coral:"),Object(c.b)("pre",null,Object(c.b)("code",Object(r.a)({parentName:"pre"},{className:"language-yaml"}),"detectors:\n coral:\n type: edgetpu\n device: usb\n")),Object(c.b)("p",null,"Multiple USB Corals:"),Object(c.b)("pre",null,Object(c.b)("code",Object(r.a)({parentName:"pre"},{className:"language-yaml"}),"detectors:\n coral1:\n type: edgetpu\n device: usb:0\n coral2:\n type: edgetpu\n device: usb:1\n")),Object(c.b)("p",null,"Multiple PCIE/M.2 Corals:"),Object(c.b)("pre",null,Object(c.b)("code",Object(r.a)({parentName:"pre"},{className:"language-yaml"}),"detectors:\n coral1:\n type: edgetpu\n device: pci:0\n coral2:\n type: edgetpu\n device: pci:1\n")),Object(c.b)("p",null,"Mixing Corals:"),Object(c.b)("pre",null,Object(c.b)("code",Object(r.a)({parentName:"pre"},{className:"language-yaml"}),"detectors:\n coral_usb:\n type: edgetpu\n device: usb\n coral_pci:\n type: edgetpu\n device: pci\n")),Object(c.b)("p",null,"CPU Detectors (not recommended):"),Object(c.b)("pre",null,Object(c.b)("code",Object(r.a)({parentName:"pre"},{className:"language-yaml"}),"detectors:\n cpu1:\n type: cpu\n cpu2:\n type: cpu\n")))}p.isMDXComponent=!0},99:function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return f}));var r=n(0),o=n.n(r);function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnProper