Update README.md
Browse files
README.md
CHANGED
|
@@ -12,7 +12,38 @@ short_description: Trained model to recognize faces
|
|
| 12 |
startup_duration_timeout: 2h
|
| 13 |
---
|
| 14 |
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
|
|
|
|
| 12 |
startup_duration_timeout: 2h
|
| 13 |
---
|
| 14 |
|
| 15 |
+
---
|
| 16 |
+
license: mit
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
# Face Recognition Model
|
| 20 |
+
"CSSE416-final-project/face-recognition" is the Hugging Face (HF) repository for the Face Recognition Application. It runs the HF faceRecogModel
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
## Files
|
| 24 |
+
- DS_Store
|
| 25 |
+
- Arial Bold.ttf
|
| 26 |
+
- app.py
|
| 27 |
+
- celeb_indicies.py
|
| 28 |
+
- dlib-19.24.99-cp310-cp310-linux_x86_64.whl
|
| 29 |
+
- face_detection.py
|
| 30 |
+
- requirements.txt
|
| 31 |
+
|
| 32 |
+
## Datasource
|
| 33 |
+
- Upload your image via camera, clipboard (copy and pasting), or dragging and dropping a picture file into the UI
|
| 34 |
+
- For large scale testing, check out the model itself
|
| 35 |
+
|
| 36 |
+
## Neccessary Package
|
| 37 |
+
- Since the model all runs on Hugging Face, you don't need to install any packages.
|
| 38 |
+
- However, if you do want to run the model locally, you will need to install these following packages:
|
| 39 |
+
- PIL
|
| 40 |
+
- gradio
|
| 41 |
+
- numpy
|
| 42 |
+
- diffusers
|
| 43 |
+
- torchvision
|
| 44 |
+
- huggingface_hub
|
| 45 |
+
|
| 46 |
+
## Running
|
| 47 |
+
- The app runs the model out of the box by simple visiting the URL for the HF Space.
|
| 48 |
+
- Alternatively, if you want to test the model locally, you can download the repo and run "app.py"
|
| 49 |
|