From 8205d738a780f866233a3eabb27109e32c6406d7 Mon Sep 17 00:00:00 2001 From: Sefik Ilkin Serengil Date: Sun, 9 Feb 2020 08:57:05 +0300 Subject: [PATCH] default usage --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0889c3e..f0436c7 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ result = DeepFace.verify("img1.jpg", "img2.jpg") Face recognition can be handled by different models. Currently, [`VGG-Face`](https://sefiks.com/2018/08/06/deep-face-recognition-with-keras/) , [`Facenet`](https://sefiks.com/2018/09/03/face-recognition-with-facenet-in-keras/) and [`OpenFace`](https://sefiks.com/2019/07/21/face-recognition-with-openface-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. ```python -vggface_result = DeepFace.verify("img1.jpg", "img2.jpg") +vggface_result = DeepFace.verify("img1.jpg", "img2.jpg") #default is VGG-Face #vggface_result = DeepFace.verify("img1.jpg", "img2.jpg", model_name = "VGG-Face") facenet_result = DeepFace.verify("img1.jpg", "img2.jpg", model_name = "Facenet") openface_result = DeepFace.verify("img1.jpg", "img2.jpg", model_name = "OpenFace")