Update app.py
Browse files
app.py
CHANGED
|
@@ -225,15 +225,6 @@ def process_video(video_file, num_frames, segment_duration, num_segments):
|
|
| 225 |
- Total frames: {total_frames}
|
| 226 |
- FPS: {video_fps:.2f}
|
| 227 |
- Duration: {video_duration:.2f} seconds
|
| 228 |
-
|
| 229 |
-
**Sampling Configuration:**
|
| 230 |
-
- Frames to sample: {num_frames}
|
| 231 |
-
- Number of segments: {num_segments}
|
| 232 |
-
- Segment duration: {segment_duration:.2f} seconds
|
| 233 |
-
|
| 234 |
-
**Results:**
|
| 235 |
-
- Sampled frame indices: {frame_indices}
|
| 236 |
-
- Number of frames extracted: {len(frames)}
|
| 237 |
"""
|
| 238 |
|
| 239 |
# Add frame numbers to images for display
|
|
|
|
| 225 |
- Total frames: {total_frames}
|
| 226 |
- FPS: {video_fps:.2f}
|
| 227 |
- Duration: {video_duration:.2f} seconds
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 228 |
"""
|
| 229 |
|
| 230 |
# Add frame numbers to images for display
|