Compare commits

..

1 Commits

Author SHA1 Message Date
rehanbgmi 70d2b5c39d
Merge b5294c6ca9 into 745d449ca6 2025-06-12 11:43:27 -05:00
1 changed files with 1 additions and 2 deletions

View File

@ -20,8 +20,7 @@ def get_face_analyser() -> Any:
if FACE_ANALYSER is None: if FACE_ANALYSER is None:
FACE_ANALYSER = insightface.app.FaceAnalysis(name='buffalo_l', providers=modules.globals.execution_providers) FACE_ANALYSER = insightface.app.FaceAnalysis(name='buffalo_l', providers=modules.globals.execution_providers)
# Lowered detection threshold for potentially better webcam face detection (default is 0.5) FACE_ANALYSER.prepare(ctx_id=0, det_size=(640, 640))
FACE_ANALYSER.prepare(ctx_id=0, det_size=(640, 640), det_thresh=0.4)
return FACE_ANALYSER return FACE_ANALYSER