Skip to content

Commit

Permalink
Merge pull request #1407 from mehran66/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
serengil authored Dec 19, 2024
2 parents 4fe4ba2 + 967beea commit d11ca8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deepface/models/face_detection/CenterFace.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit d11ca8f

Please sign in to comment.