From 729de48934960e4df47c3bbd7d1fce867a9b9fd1 Mon Sep 17 00:00:00 2001 From: Blake Blackshear Date: Mon, 14 Dec 2020 07:05:19 -0600 Subject: [PATCH] switch default threshold to .7 --- README.md | 6 +++--- frigate/config.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 18007d4e8..2938badae 100644 --- a/README.md +++ b/README.md @@ -279,7 +279,7 @@ objects: # Optional: minimum score for the object to initiate tracking (default: shown below) min_score: 0.5 # Optional: minimum decimal percentage for tracked object's computed score to be considered a true positive (default: shown below) - threshold: 0.85 + threshold: 0.7 # Required: configuration section for cameras cameras: @@ -344,7 +344,7 @@ cameras: person: min_area: 5000 max_area: 100000 - threshold: 0.8 + threshold: 0.7 # Optional: save clips configuration # NOTE: This feature does not work if you have added "-vsync drop" in your input params. @@ -402,7 +402,7 @@ cameras: min_area: 5000 max_area: 100000 min_score: 0.5 - threshold: 0.85 + threshold: 0.7 ``` [Back to top](#documentation) diff --git a/frigate/config.py b/frigate/config.py index dc20851f1..cc34d6803 100644 --- a/frigate/config.py +++ b/frigate/config.py @@ -89,7 +89,7 @@ FILTER_SCHEMA = vol.Schema( str: { vol.Optional('min_area', default=0): int, vol.Optional('max_area', default=24000000): int, - vol.Optional('threshold', default=0.85): float + vol.Optional('threshold', default=0.7): float } } )