This commit is contained in:
Jozef Huscava
2026-07-19 14:36:44 +08:00
committed by GitHub
+1 -1
View File
@@ -127,7 +127,7 @@ class FaceRealTimeProcessor(RealTimeProcessorApi):
os.path.join(MODEL_CACHE_DIR, "facedet/facedet.onnx"), os.path.join(MODEL_CACHE_DIR, "facedet/facedet.onnx"),
config="", config="",
input_size=(320, 320), input_size=(320, 320),
score_threshold=0.5, score_threshold=min(0.5, self.face_config.detection_threshold),
nms_threshold=0.3, nms_threshold=0.3,
) )
self.faces_per_second.start() self.faces_per_second.start()