From a3e614ff7fb936336314a828fa3b81c6bee4e828 Mon Sep 17 00:00:00 2001 From: Sefik Ilkin Serengil Date: Sat, 4 Apr 2020 09:54:12 +0300 Subject: [PATCH] multiple faces --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 6428ae0..327cc5a 100644 --- a/README.md +++ b/README.md @@ -84,6 +84,20 @@ DeepFace.stream("/user/database")

+Even though face recognition is based on one-shot learning, you can use multiple faces pictures of a person as well. You should rearrange your directory structure as illustrated below. + +```bash +user +├── database +│ ├── Alice +│ │ ├── Alice1.jpg +│ │ ├── Alice2.jpg +│ ├── Bob +│ │ ├── Bob.jog +``` + +BTW, you should use regular slash (/) instead of backslash (\) in Windows OS while passing the path to stream function (e.g. DeepFace.stream("C:/User/Sefik/Desktop/database") ) + # Installation The easiest way to install deepface is to download it from [PyPI](https://pypi.org/project/deepface/).