Skip to content

Commit 81286fa

Browse files
Increase confidence threshold for face detection.
1 parent 7649865 commit 81286fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/app/models/FaceDetector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class FaceDetector:
1616
def __init__(self):
1717
self.yolo_detector = YOLO(
1818
YOLO_util_get_model_path("face"),
19-
conf_threshold=0.35,
19+
conf_threshold=0.45,
2020
iou_threshold=0.45,
2121
)
2222
self.facenet = FaceNet(FaceNet_util_get_model_path())

0 commit comments

Comments
 (0)