Sfoglia il codice sorgente

switch default threshold to .7

Blake Blackshear 4 anni fa
parent
commit
6af3cb6134
2 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  1. 3 3
      README.md
  2. 1 1
      frigate/config.py

+ 3 - 3
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)
 

+ 1 - 1
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
             }
     }
 )