Compare commits
2 Commits
70d2b5c39d
...
54f914c62f
Author | SHA1 | Date |
---|---|---|
|
54f914c62f | |
|
0db2d109c8 |
|
@ -20,7 +20,8 @@ def get_face_analyser() -> Any:
|
|||
|
||||
if FACE_ANALYSER is None:
|
||||
FACE_ANALYSER = insightface.app.FaceAnalysis(name='buffalo_l', providers=modules.globals.execution_providers)
|
||||
FACE_ANALYSER.prepare(ctx_id=0, det_size=(640, 640))
|
||||
# Lowered detection threshold for potentially better webcam face detection (default is 0.5)
|
||||
FACE_ANALYSER.prepare(ctx_id=0, det_size=(640, 640), det_thresh=0.4)
|
||||
return FACE_ANALYSER
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue