mirror of
https://github.com/serengil/deepface.git
synced 2025-06-06 11:35:21 +00:00
Update CenterFace threshold
the original repo use a threshold of 0.35 that is appropriate based on my tests. 0.8 is very large and results in many false negatives.
This commit is contained in:
parent
4fe4ba289e
commit
967beea816
@ -46,7 +46,7 @@ class CenterFaceClient(Detector):
|
||||
"""
|
||||
resp = []
|
||||
|
||||
threshold = float(os.getenv("CENTERFACE_THRESHOLD", "0.80"))
|
||||
threshold = float(os.getenv("CENTERFACE_THRESHOLD", "0.35"))
|
||||
|
||||
# BUG: model causes problematic results from 2nd call if it is not flushed
|
||||
# detections, landmarks = self.model.forward(
|
||||
|
Loading…
x
Reference in New Issue
Block a user