mirror of
https://github.com/serengil/deepface.git
synced 2025-06-07 12:05:22 +00:00
order result in descending order of probability
This commit is contained in:
parent
d037d2a2d7
commit
c53366b75a
@ -12,7 +12,8 @@ def build_model():
|
|||||||
face_detector = fast_mtcnn(image_size=160,
|
face_detector = fast_mtcnn(image_size=160,
|
||||||
thresholds=[0.6, 0.7, 0.7], # MTCNN thresholds
|
thresholds=[0.6, 0.7, 0.7], # MTCNN thresholds
|
||||||
post_process=True,
|
post_process=True,
|
||||||
device='cpu'
|
device='cpu',
|
||||||
|
select_largest=False, # return result in descending order
|
||||||
)
|
)
|
||||||
return face_detector
|
return face_detector
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user