blakeblackshear.frigate/ad721137.81e34486.js

1 line
12 KiB
JavaScript
Raw Normal View History

(window.webpackJsonp=window.webpackJsonp||[]).push([[18],{86:function(e,t,n){"use strict";n.r(t),n.d(t,"frontMatter",(function(){return r})),n.d(t,"metadata",(function(){return l})),n.d(t,"toc",(function(){return c})),n.d(t,"default",(function(){return s}));var a=n(3),o=n(7),i=(n(0),n(92)),r={id:"advanced",title:"Advanced",sidebar_label:"Advanced"},l={unversionedId:"configuration/advanced",id:"configuration/advanced",isDocsHomePage:!1,title:"Advanced",description:"Advanced configuration",source:"@site/docs/configuration/advanced.md",slug:"/configuration/advanced",permalink:"/frigate/configuration/advanced",editUrl:"https://github.com/blakeblackshear/frigate/edit/master/docs/docs/configuration/advanced.md",version:"current",sidebar_label:"Advanced",sidebar:"docs",previous:{title:"Reducing false positives",permalink:"/frigate/configuration/false_positives"},next:{title:"Integration with Home Assistant",permalink:"/frigate/usage/home-assistant"}},c=[{value:"Advanced configuration",id:"advanced-configuration",children:[{value:"<code>motion</code>",id:"motion",children:[]},{value:"<code>detect</code>",id:"detect",children:[]},{value:"<code>logger</code>",id:"logger",children:[]},{value:"<code>environment_vars</code>",id:"environment_vars",children:[]},{value:"<code>database</code>",id:"database",children:[]},{value:"<code>detectors</code>",id:"detectors",children:[]},{value:"<code>model</code>",id:"model",children:[]}]},{value:"Custom Models",id:"custom-models",children:[{value:"Customizing the Labelmap",id:"customizing-the-labelmap",children:[]}]}],d={toc:c};function s(e){var t=e.components,n=Object(o.a)(e,["components"]);return Object(i.b)("wrapper",Object(a.a)({},d,n,{components:t,mdxType:"MDXLayout"}),Object(i.b)("h2",{id:"advanced-configuration"},"Advanced configuration"),Object(i.b)("h3",{id:"motion"},Object(i.b)("inlineCode",{parentName:"h3"},"motion")),Object(i.b)("p",null,"Global motion detection config. These may also be defined at the camera level."),Object(i.b)("pre",null,Object(i.b)("code",Object(a.a)({parentName:"pre"},{className:"language-yaml"}),"motion:\n # Optional: The threshold passed to cv2.threshold to determine if a pixel is different enough to be counted as motion. (default: shown below)\n # Increasing this value will make motion detection less sensitive and decreasing it will make motion detection more sensitive.\n # The value should be between 1 and 255.\n threshold: 25\n # Optional: Minimum size in pixels in the resized motion image that counts as motion\n # Increasing this value will prevent smaller areas of motion from being detected. Decreasing will make motion detection more sensitive to smaller\n # moving objects.\n contour_area: 100\n # Optional: Alpha value passed to cv2.accumulateWeighted when averaging the motion delta across multiple frames (default: shown below)\n # Higher values mean the current frame impacts the delta a lot, and a single raindrop may register as motion.\n # Too low and a fast moving person wont be detected as motion.\n delta_alpha: 0.2\n # Optional: Alpha value passed to cv2.accumulateWeighted when averaging frames to determine the background (default: shown below)\n # Higher values mean the current frame impacts the average a lot, and a new object will be averaged into the background faster.\n # Low values will cause things like moving shadows to be detected as motion for longer.\n # https://www.geeksforgeeks.org/background-subtraction-in-an-image-using-concept-of-running-average/\n frame_alpha: 0.2\n # Optional: Height of the resized motion frame (default: 1/6th of the original frame height)\n # This operates as an efficient blur alternative. Higher values will result in more granular motion detection at the expense of higher CPU usage.\n # Lower values result in less CPU, but small changes may not register as motion.\n frame_height: 180\n")),Object(i.b)("h3",{id:"detect"},Object(i.b)("inlineCode",{parentName:"h3"},"detect")),Object(i.b)("p",null,"Global object detection settings. These may also be defined at the camera level."),Object(i.b)("pre