sort problem declaration in multiple items

This commit is contained in:
Sefik Ilkin Serengil 2020-05-22 11:57:36 +03:00 committed by GitHub
parent cbb3078aa1
commit cac33dcbbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,9 +36,11 @@ dataset = [
['dataset/img1.jpg', 'dataset/img2.jpg'], ['dataset/img1.jpg', 'dataset/img2.jpg'],
['dataset/img1.jpg', 'dataset/img3.jpg'] ['dataset/img1.jpg', 'dataset/img3.jpg']
] ]
result = DeepFace.verify(dataset) resp_obj = DeepFace.verify(dataset)
``` ```
Items of resp_obj might be unsorted when you pass multiple instances to verify function.
## Face recognition models ## Face recognition models
Face recognition can be handled by different models. Currently, [`VGG-Face`](https://sefiks.com/2018/08/06/deep-face-recognition-with-keras/) , [`Google FaceNet`](https://sefiks.com/2018/09/03/face-recognition-with-facenet-in-keras/), [`OpenFace`](https://sefiks.com/2019/07/21/face-recognition-with-openface-in-keras/) and [`Facebook DeepFace`](https://sefiks.com/2020/02/17/face-recognition-with-facebook-deepface-in-keras/) models are supported in deepface. The default configuration verifies faces with **VGG-Face** model. You can set the base model while verification as illustared below. Accuracy and speed show difference based on the performing model. Face recognition can be handled by different models. Currently, [`VGG-Face`](https://sefiks.com/2018/08/06/deep-face-recognition-with-keras/) , [`Google FaceNet`](https://sefiks.com/2018/09/03/face-recognition-with-facenet-in-keras/), [`OpenFace`](https://sefiks.com/2019/07/21/face-recognition-with-openface-in-keras/) and [`Facebook DeepFace`](https://sefiks.com/2020/02/17/face-recognition-with-facebook-deepface-in-keras/) models are supported in deepface. The default configuration verifies faces with **VGG-Face** model. You can set the base model while verification as illustared below. Accuracy and speed show difference based on the performing model.