From cac33dcbbdb9d73c38a61333f296334ebe1db95f Mon Sep 17 00:00:00 2001 From: Sefik Ilkin Serengil Date: Fri, 22 May 2020 11:57:36 +0300 Subject: [PATCH] sort problem declaration in multiple items --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f453745..c3ad84c 100644 --- a/README.md +++ b/README.md @@ -36,9 +36,11 @@ dataset = [ ['dataset/img1.jpg', 'dataset/img2.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 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.