Spaces:
Running
on
T4
Running
on
T4
PKUWilliamYang
commited on
Commit
•
765aeaa
1
Parent(s):
a92b2b8
Update app.py
Browse files
app.py
CHANGED
@@ -116,11 +116,10 @@ def main():
|
|
116 |
with gr.Box():
|
117 |
gr.Markdown('''## Step 2 (Preprocess Input Image / Video)
|
118 |
- Drop an image/video containing a near-frontal face to the **Input Image**/**Input Video**.
|
119 |
-
- If there are multiple faces, hit the Edit button in the upper right corner and crop the source beforehand.
|
120 |
- Hit the **Rescale Image**/**Rescale First Frame** button.
|
121 |
- Rescale the input to make it best fit the model.
|
122 |
- The final image result will be based on this **Rescaled Face**. Use padding parameters to adjust the background space.
|
123 |
-
-
|
124 |
- For video input, further hit the **Rescale Video** button.
|
125 |
- The final video result will be based on this **Rescaled Video**. To avoid overload, video is cut to at most **100** frames.
|
126 |
|
|
|
116 |
with gr.Box():
|
117 |
gr.Markdown('''## Step 2 (Preprocess Input Image / Video)
|
118 |
- Drop an image/video containing a near-frontal face to the **Input Image**/**Input Video**.
|
|
|
119 |
- Hit the **Rescale Image**/**Rescale First Frame** button.
|
120 |
- Rescale the input to make it best fit the model.
|
121 |
- The final image result will be based on this **Rescaled Face**. Use padding parameters to adjust the background space.
|
122 |
+
- <font color=red>**Solution to [Error: no face detected!]**</font>: VToonify uses dlib.get_frontal_face_detector but sometimes it fails to detect a face. You can try several times or use other images until a face is detected, then switch back to the original image.
|
123 |
- For video input, further hit the **Rescale Video** button.
|
124 |
- The final video result will be based on this **Rescaled Video**. To avoid overload, video is cut to at most **100** frames.
|
125 |
|