reab5555 commited on
Commit
fb1fff2
·
verified ·
1 Parent(s): 694c98e

Update visualization.py

Browse files
Files changed (1) hide show
  1. visualization.py +1 -1
visualization.py CHANGED
@@ -215,7 +215,7 @@ def create_video_with_heatmap(video_path, df, mse_embeddings, mse_posture, outpu
215
  out = cv2.VideoWriter(output_path, fourcc, fps, (width, height + 200)) # Additional 200 pixels for heatmap
216
 
217
  # Prepare the heatmap data
218
- heatmap_data = np.vstack((mse_embeddings, mse_posture, mse_voice))
219
 
220
  # Create a figure for the heatmap
221
  fig, ax = plt.subplots(figsize=(width/100, 2))
 
215
  out = cv2.VideoWriter(output_path, fourcc, fps, (width, height + 200)) # Additional 200 pixels for heatmap
216
 
217
  # Prepare the heatmap data
218
+ heatmap_data = np.vstack((mse_embeddings, mse_posture))
219
 
220
  # Create a figure for the heatmap
221
  fig, ax = plt.subplots(figsize=(width/100, 2))