Update visualization.py
Browse files- 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
|
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))
|