switch default threshold to .7

This commit is contained in:
Blake Blackshear 2020-12-14 07:05:19 -06:00
parent 2ff0c3907f
commit 6af3cb6134
2 changed files with 4 additions and 4 deletions

View File

@ -279,7 +279,7 @@ objects:
# Optional: minimum score for the object to initiate tracking (default: shown below) # Optional: minimum score for the object to initiate tracking (default: shown below)
min_score: 0.5 min_score: 0.5
# Optional: minimum decimal percentage for tracked object's computed score to be considered a true positive (default: shown below) # 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 # Required: configuration section for cameras
cameras: cameras:
@ -344,7 +344,7 @@ cameras:
person: person:
min_area: 5000 min_area: 5000
max_area: 100000 max_area: 100000
threshold: 0.8 threshold: 0.7
# Optional: save clips configuration # Optional: save clips configuration
# NOTE: This feature does not work if you have added "-vsync drop" in your input params. # NOTE: This feature does not work if you have added "-vsync drop" in your input params.
@ -402,7 +402,7 @@ cameras:
min_area: 5000 min_area: 5000
max_area: 100000 max_area: 100000
min_score: 0.5 min_score: 0.5
threshold: 0.85 threshold: 0.7
``` ```
[Back to top](#documentation) [Back to top](#documentation)

View File

@ -89,7 +89,7 @@ FILTER_SCHEMA = vol.Schema(
str: { str: {
vol.Optional('min_area', default=0): int, vol.Optional('min_area', default=0): int,
vol.Optional('max_area', default=24000000): int, vol.Optional('max_area', default=24000000): int,
vol.Optional('threshold', default=0.85): float vol.Optional('threshold', default=0.7): float
} }
} }
) )