blakeblackshear.frigate/9901f42d.7f9b2536.js

1 line
7.4 KiB
JavaScript
Raw Normal View History

(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{84:function(e,t,n){"use strict";n.r(t),n.d(t,"frontMatter",(function(){return i})),n.d(t,"metadata",(function(){return l})),n.d(t,"toc",(function(){return o})),n.d(t,"default",(function(){return p}));var a=n(3),r=n(7),c=(n(0),n(96)),i={id:"false_positives",title:"Reducing false positives"},l={unversionedId:"configuration/false_positives",id:"configuration/false_positives",isDocsHomePage:!1,title:"Reducing false positives",description:"Tune your object filters to adjust false positives: minarea, maxarea, min_score, threshold.",source:"@site/docs/configuration/false_positives.md",slug:"/configuration/false_positives",permalink:"/frigate/configuration/false_positives",editUrl:"https://github.com/blakeblackshear/frigate/edit/master/docs/docs/configuration/false_positives.md",version:"current",sidebar:"docs",previous:{title:"Detectors",permalink:"/frigate/configuration/detectors"},next:{title:"Advanced",permalink:"/frigate/configuration/advanced"}},o=[],b={toc:o};function p(e){var t=e.components,n=Object(r.a)(e,["components"]);return Object(c.b)("wrapper",Object(a.a)({},b,n,{components:t,mdxType:"MDXLayout"}),Object(c.b)("p",null,"Tune your object filters to adjust false positives: ",Object(c.b)("inlineCode",{parentName:"p"},"min_area"),", ",Object(c.b)("inlineCode",{parentName:"p"},"max_area"),", ",Object(c.b)("inlineCode",{parentName:"p"},"min_score"),", ",Object(c.b)("inlineCode",{parentName:"p"},"threshold"),"."),Object(c.b)("p",null,"For object filters in your configuration, any single detection below ",Object(c.b)("inlineCode",{parentName:"p"},"min_score")," will be ignored as a false positive. ",Object(c.b)("inlineCode",{parentName:"p"},"threshold")," is based on the median of the history of scores (padded to 3 values) for a tracked object. Consider the following frames when ",Object(c.b)("inlineCode",{parentName:"p"},"min_score")," is set to 0.6 and threshold is set to 0.85:"),Object(c.b)("table",null,Object(c.b)("thead",{parentName:"table"},Object(c.b)("tr",{parentName:"thead"},Object(c.b)("th",Object(a.a)({parentName:"tr"},{align:null}),"Frame"),Object(c.b)("th",Object(a.a)({parentName:"tr"},{align:null}),"Current Score"),Object(c.b)("th",Object(a.a)({parentName:"tr"},{align:null}),"Score History"),Object(c.b)("th",Object(a.a)({parentName:"tr"},{align:null}),"Computed Score"),Object(c.b)("th",Object(a.a)({parentName:"tr"},{align:null}),"Detected Object"))),Object(c.b)("tbody",{parentName:"table"},Object(c.b)("tr",{parentName:"tbody"},Object(c.b)("td",Object(a.a)({parentName:"tr"},{align:null}),"1"),Object(c.b)("td",Object(a.a)({parentName:"tr"},{align:null}),"0.7"),Object(c.b)("td",Object(a.a)({parentName:"tr"},{align:null}),"0.0, 0, 0.7"),Object(c.b)("td",Object(a.a)({parentName:"tr"},{align:null}),"0.0"),Object(c.b)("td",Object(a.a)({parentName:"tr"},{align:null}),"No")),Object(c.b)("tr",{parentName:"tbody"},Object(c.b)("td",Object(a.a)({parentName:"tr"},{align:null}),"2"),Object(c.b)("td",Object(a.a)({parentName:"tr"},{align:null}),"0.55"),Object(c.b)("td",Object(a.a)({parentName:"tr"},{align:null}),"0.0, 0.7, 0.0"),Object(c.b)("td",Object(a.a)({parentName:"tr"},{align:null}),"0.0"),Object(c.b)("td",Object(a.a)({parentName:"tr"},{align:null}),"No")),Object(c.b)("tr",{parentName:"tbody"},Object(c.b)("td",Object(a.a)({parentName:"tr"},{align:null}),"3"),Object(c.b)("td",Object(a.a)({parentName:"tr"},{align:null}),"0.85"),Object(c.b)("td",Object(a.a)({parentName:"tr"},{align:null}),"0.7, 0.0, 0.85"),Object(c.b)("td",Object(a.a)({parentName:"tr"},{align:null}),"0.7"),Object(c.b)("td",Object(a.a)({parentName:"tr"},{align:null}),"No")),Object(c.b)("tr",{parentName:"tbody"},Object(c.b)("td",Object(a.a)({parentName:"tr"},{align:null}),"4"),Object(c.b)("td",Object(a.a)({parentName:"tr"},{align:null}),"0.90"),Object(c.b)("td",Object(a.a)({parentName:"tr"},{align:null}),"0.7, 0.85, 0.95, 0.90"),Object(c.b)("td",Object(a.a)({parentName:"tr"},{align:null}),"0.875"),Object(c.b)("td",Object(a.a)({parentName:"tr"},{align:null}),"Yes")),Object(c.b)("tr",{parentName:"tbody