Spaces:
Build error
Build error
Commit ·
7b94e51
1
Parent(s): 11d2bca
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,52 +0,0 @@
|
|
| 1 |
-
# Real-Time Face Recognition
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
# How to add 1 peason to recognize
|
| 5 |
-
### Step 1: Create a folder with the folder name being the name of the person
|
| 6 |
-
### Step 2: Add the person's photo in the folder
|
| 7 |
-
### Step 3: Move folder to additional-training-datasets folder
|
| 8 |
-
#### Example:
|
| 9 |
-
|
| 10 |
-
- |database
|
| 11 |
-
- ----|additional-training-datasets
|
| 12 |
-
- --------|name-person1
|
| 13 |
-
- --------|name-person2
|
| 14 |
-
- ----|face-datasets
|
| 15 |
-
- ----|full-training-datasets
|
| 16 |
-
|
| 17 |
-
### Step 4: Set up with Python >= 3.7
|
| 18 |
-
````
|
| 19 |
-
pip install -r requirements.txt
|
| 20 |
-
````
|
| 21 |
-
### Step 5: Run to add person
|
| 22 |
-
````
|
| 23 |
-
python train.py --is-add-user=True
|
| 24 |
-
````
|
| 25 |
-
### Step 6: Run recognize
|
| 26 |
-
````
|
| 27 |
-
python recognize.py
|
| 28 |
-
````
|
| 29 |
-
# Face Recognition use Yolov5-face, Insightface, Similarity Measure
|
| 30 |
-
<p align="center">
|
| 31 |
-
<img src="./static/results/workflow.png" alt="animated" />
|
| 32 |
-
</p>
|
| 33 |
-
|
| 34 |
-
# Yolov5-face to dectect face
|
| 35 |
-
<p align="center">
|
| 36 |
-
<img src="./static/results/face-detection.gif" alt="animated" />
|
| 37 |
-
</p>
|
| 38 |
-
|
| 39 |
-
# Insight Face to recognition face
|
| 40 |
-

|
| 41 |
-
|
| 42 |
-
# Multi thread
|
| 43 |
-
<p align="center">
|
| 44 |
-
<img src="https://user-images.githubusercontent.com/80930272/165548024-6d25fbe4-057f-4123-a3f9-3912cce2b73b.png" alt="animated" />
|
| 45 |
-
</p>
|
| 46 |
-
|
| 47 |
-
# Cosine Similarity Algorithm
|
| 48 |
-

|
| 49 |
-
|
| 50 |
-
# Reference
|
| 51 |
-
- https://github.com/deepcam-cn/yolov5-face
|
| 52 |
-
- https://github.com/deepinsight/insightface/tree/master/recognition/arcface_torch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|