mirror of
https://github.com/serengil/deepface.git
synced 2025-06-07 20:15:21 +00:00
multiple faces
This commit is contained in:
parent
9eaf86b27d
commit
a3e614ff7f
14
README.md
14
README.md
@ -84,6 +84,20 @@ DeepFace.stream("/user/database")
|
|||||||
|
|
||||||
<p align="center"><img src="https://raw.githubusercontent.com/serengil/deepface/master/icon/stock-3.jpg" width="90%" height="90%"></p>
|
<p align="center"><img src="https://raw.githubusercontent.com/serengil/deepface/master/icon/stock-3.jpg" width="90%" height="90%"></p>
|
||||||
|
|
||||||
|
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
|
# Installation
|
||||||
|
|
||||||
The easiest way to install deepface is to download it from [PyPI](https://pypi.org/project/deepface/).
|
The easiest way to install deepface is to download it from [PyPI](https://pypi.org/project/deepface/).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user