Skip to content

Commit

Permalink
switch default threshold to .7
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeblackshear committed Jan 27, 2021
1 parent 2ff0c39 commit 6af3cb6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion frigate/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
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
}
}
)
Expand Down

0 comments on commit 6af3cb6

Please sign in to comment.