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