diff --git a/deepface/models/face_detection/CenterFace.py b/deepface/models/face_detection/CenterFace.py index d8e08bdd..b8fdf6b3 100644 --- a/deepface/models/face_detection/CenterFace.py +++ b/deepface/models/face_detection/CenterFace.py @@ -46,7 +46,7 @@ def detect_faces(self, img: np.ndarray) -> List["FacialAreaRegion"]: """ 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(