reab5555 commited on
Commit
ebcd47c
·
verified ·
1 Parent(s): 5eeb529

Update video_processing.py

Browse files
Files changed (1) hide show
  1. 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)}")