Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -411,22 +411,12 @@ iface = gr.Interface(
|
|
| 411 |
This application detects anomalies in facial expressions and emotions from a video input.
|
| 412 |
It focuses on the most frequently appearing person in the video for analysis.
|
| 413 |
|
| 414 |
-
How it works:
|
| 415 |
-
1. The app extracts faces from the video frames.
|
| 416 |
-
2. It identifies the most frequent person (face) in the video.
|
| 417 |
-
3. For this person, it analyzes facial expressions and emotions over time.
|
| 418 |
-
4. It then detects anomalies in these expressions and emotions.
|
| 419 |
-
|
| 420 |
-
The graphs show anomaly scores and emotion intensities over time.
|
| 421 |
-
Click on any graph to view it in full size.
|
| 422 |
-
|
| 423 |
Adjust the parameters as needed:
|
| 424 |
-
- Number of Anomalies: How many top anomalies to detect
|
| 425 |
-
- Number of Components: Complexity of the facial expression model
|
| 426 |
-
- Desired FPS: Frames per second to analyze (lower for faster processing)
|
| 427 |
- Batch Size: Affects processing speed and memory usage
|
| 428 |
|
| 429 |
-
Upload a video and click 'Submit' to start the analysis.
|
| 430 |
"""
|
| 431 |
)
|
| 432 |
|
|
|
|
| 411 |
This application detects anomalies in facial expressions and emotions from a video input.
|
| 412 |
It focuses on the most frequently appearing person in the video for analysis.
|
| 413 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 414 |
Adjust the parameters as needed:
|
| 415 |
+
- Number of Anomalies: How many top anomalies to detect in the video
|
| 416 |
+
- Number of Components: Complexity of the facial expression model (default = 3)
|
| 417 |
+
- Desired FPS: Frames per second to analyze (lower for faster processing - optimal: 10-20)
|
| 418 |
- Batch Size: Affects processing speed and memory usage
|
| 419 |
|
|
|
|
| 420 |
"""
|
| 421 |
)
|
| 422 |
|