From b1cd8a52ac565de133311083d9d915f5e5de9ed9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=9Eefik=20Serangil?= Date: Tue, 16 Jun 2020 23:53:12 +0300 Subject: [PATCH] deepid read me --- README.md | 6 +++--- setup.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 534f77f..c79a640 100644 --- a/README.md +++ b/README.md @@ -57,10 +57,10 @@ df = DeepFace.find(img_path = "img1.jpg", db_path = "C:/workspace/my_db") **Supported 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/), [`Facebook DeepFace`](https://sefiks.com/2020/02/17/face-recognition-with-facebook-deepface-in-keras/) and [`DeepID`](https://sefiks.com/2020/06/16/face-recognition-with-deepid-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 -models = ["VGG-Face", "Facenet", "OpenFace", "DeepFace"] +models = ["VGG-Face", "Facenet", "OpenFace", "DeepFace", "DeepID"] for model in models: result = DeepFace.verify("img1.jpg", "img2.jpg", model_name = model) ``` @@ -77,7 +77,7 @@ The complexity and response time of each face recognition model is different so You can build a face recognition model once and pass this to verify function as well. This might be logical if you need to call verify function several times. ```python -from deepface.basemodels import VGGFace, OpenFace, Facenet, FbDeepFace +from deepface.basemodels import VGGFace, OpenFace, Facenet, FbDeepFace, DeepID model = VGGFace.loadModel() #all face recognition models have loadModel() function in their interfaces DeepFace.verify("img1.jpg", "img2.jpg", model_name = "VGG-Face", model = model) ``` diff --git a/setup.py b/setup.py index 7fc2fb2..491cbba 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ with open("README.md", "r", encoding="utf-8") as fh: setuptools.setup( name="deepface", - version="0.0.29", + version="0.0.30", author="Sefik Ilkin Serengil", author_email="serengil@gmail.com", description="A Lightweight Face Recognition and Facial Attribute Analysis Framework (Age, Gender, Emotion, Race) for Python",