Spaces:
Paused
Paused
Koyang commited on
Commit ·
5769405
1
Parent(s): 12645de
update
Browse files- README.md +1 -1
- app.py +5 -4
- images/1.jpg +0 -0
- images/2.jpg +0 -0
- images/3.jpg +0 -0
README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
---
|
| 2 |
-
title: Facialdetection
|
| 3 |
emoji: 🏆
|
| 4 |
colorFrom: yellow
|
| 5 |
colorTo: gray
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Facialdetection-vgg16
|
| 3 |
emoji: 🏆
|
| 4 |
colorFrom: yellow
|
| 5 |
colorTo: gray
|
app.py
CHANGED
|
@@ -19,12 +19,13 @@ os.system("wget -c https://huggingface.co/yangcsu/facialdetection-vgg/resolve/ma
|
|
| 19 |
os.system("wget -c https://huggingface.co/yangcsu/facialdetection-vgg/resolve/main/model.pdmodel -P ./configs")
|
| 20 |
|
| 21 |
examples = [
|
| 22 |
-
"
|
|
|
|
|
|
|
| 23 |
]
|
| 24 |
-
title = "人脸
|
| 25 |
-
description = "使用BlazeFace模型识别图片中的人脸,并使用VGG16模型分析其表情"
|
| 26 |
|
| 27 |
-
demo = gr.Interface(fn=model_inference, inputs="image", outputs="image", title=title,
|
| 28 |
examples=examples)
|
| 29 |
|
| 30 |
# 启动Gradio
|
|
|
|
| 19 |
os.system("wget -c https://huggingface.co/yangcsu/facialdetection-vgg/resolve/main/model.pdmodel -P ./configs")
|
| 20 |
|
| 21 |
examples = [
|
| 22 |
+
"images/1.jpg",
|
| 23 |
+
"images/2.jpg",
|
| 24 |
+
"images/3.jpg",
|
| 25 |
]
|
| 26 |
+
title = "BlazeFace+VGG的人脸表情分析"
|
|
|
|
| 27 |
|
| 28 |
+
demo = gr.Interface(fn=model_inference, inputs="image", outputs="image", title=title,
|
| 29 |
examples=examples)
|
| 30 |
|
| 31 |
# 启动Gradio
|
images/1.jpg
ADDED
|
images/2.jpg
ADDED
|
images/3.jpg
ADDED
|