mirror of
https://github.com/serengil/deepface.git
synced 2025-06-06 11:35:21 +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,
|
||||
thresholds=[0.6, 0.7, 0.7], # MTCNN thresholds
|
||||
post_process=True,
|
||||
device='cpu'
|
||||
device='cpu',
|
||||
select_largest=False, # return result in descending order
|
||||
)
|
||||
return face_detector
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user