Spaces:
Runtime error
Runtime error
Update video_processing.py
Browse files- video_processing.py +2 -2
video_processing.py
CHANGED
|
@@ -183,8 +183,8 @@ def process_video(video_path, anomaly_threshold, desired_fps, progress=None):
|
|
| 183 |
|
| 184 |
# Create video with heatmap
|
| 185 |
heatmap_video_path = os.path.join(output_folder, "video_with_heatmap.mp4")
|
| 186 |
-
create_video_with_heatmap(video_path, df, mse_embeddings, mse_posture,
|
| 187 |
-
|
| 188 |
except Exception as e:
|
| 189 |
print(f"Error details: {str(e)}")
|
| 190 |
import traceback
|
|
|
|
| 183 |
|
| 184 |
# Create video with heatmap
|
| 185 |
heatmap_video_path = os.path.join(output_folder, "video_with_heatmap.mp4")
|
| 186 |
+
heatmap_video_path = create_video_with_heatmap(video_path, df, mse_embeddings, mse_posture, output_path, desired_fps, largest_cluster)
|
| 187 |
+
|
| 188 |
except Exception as e:
|
| 189 |
print(f"Error details: {str(e)}")
|
| 190 |
import traceback
|