From da118716166a3b5a54aa7ead828189891d902534 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=9Eefik=20Serangil?= Date: Thu, 2 Apr 2020 20:02:46 +0300 Subject: [PATCH] stock photos for readme --- README.md | 8 ++++---- tests/dataset/test-case-6.jpg => icon/stock-1.jpg | Bin tests/dataset/test-case-3.jpg => icon/stock-2.jpg | Bin icon/{deepface-stream-v4.jpg => stock-3.jpg} | Bin 4 files changed, 4 insertions(+), 4 deletions(-) rename tests/dataset/test-case-6.jpg => icon/stock-1.jpg (100%) rename tests/dataset/test-case-3.jpg => icon/stock-2.jpg (100%) rename icon/{deepface-stream-v4.jpg => stock-3.jpg} (100%) diff --git a/README.md b/README.md index 29552b8..6428ae0 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ result = DeepFace.verify("img1.jpg", "img2.jpg") print("Is verified: ", result["verified"]) ``` -

+

Modern face recognition pipelines consist of 4 stages: detect, [align](https://sefiks.com/2020/02/23/face-alignment-for-face-recognition-in-python-within-opencv/), represent and verify. Deepface handles all these common stages in the background. @@ -71,9 +71,9 @@ print("Emotion: ", demography["dominant_emotion"]) print("Race: ", demography["dominant_race"]) ``` -

+

-# Stream +# Streaming and Real Time Analysis You can run deepface for real time videos as well. Calling stream function under the DeepFace interface will access your webcam and apply both face recognition and facial attribute analysis. Stream function expects a database folder including face images. VGG-Face is the default face recognition model and cosine similarity is the default distance metric similar to verify function. The function starts to analyze if it can focus a face sequantially 5 frames. Then, it shows results 5 seconds. @@ -82,7 +82,7 @@ from deepface import DeepFace DeepFace.stream("/user/database") ``` -

+

# Installation diff --git a/tests/dataset/test-case-6.jpg b/icon/stock-1.jpg similarity index 100% rename from tests/dataset/test-case-6.jpg rename to icon/stock-1.jpg diff --git a/tests/dataset/test-case-3.jpg b/icon/stock-2.jpg similarity index 100% rename from tests/dataset/test-case-3.jpg rename to icon/stock-2.jpg diff --git a/icon/deepface-stream-v4.jpg b/icon/stock-3.jpg similarity index 100% rename from icon/deepface-stream-v4.jpg rename to icon/stock-3.jpg