Merge pull request #1407 from mehran66/patch-1

This commit is contained in:
Sefik Ilkin Serengil 2024-12-19 21:23:42 +00:00 committed by GitHub
commit d11ca8ff22
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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(