reab5555 commited on
Commit
5a5fe49
·
verified ·
1 Parent(s): 0271df1

Update video_processing.py

Browse files
Files changed (1) hide show
  1. video_processing.py +1 -2
video_processing.py CHANGED
@@ -182,8 +182,7 @@ def process_video(video_path, anomaly_threshold, desired_fps, progress=None):
182
  progress(0.9, "Generating video with heatmap")
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)}")
 
182
  progress(0.9, "Generating video with heatmap")
183
 
184
  # Create video with heatmap
185
+ heatmap_video_path = create_video_with_heatmap(video_path, df, mse_embeddings, mse_posture, heatmap_video_path, desired_fps, largest_cluster)
 
186
 
187
  except Exception as e:
188
  print(f"Error details: {str(e)}")