Update app.py
Browse files
app.py
CHANGED
@@ -24,8 +24,7 @@ def process_and_show_completion(video_input_path, anomaly_threshold_input, fps,
|
|
24 |
face_samples_frequent, \
|
25 |
anomaly_faces_embeddings, anomaly_frames_posture_images, \
|
26 |
aligned_faces_folder, frames_folder, \
|
27 |
-
heatmap_video_path, correlation_heatmap,
|
28 |
-
combined_mse_plot, combined_heatmap = results
|
29 |
|
30 |
anomaly_faces_embeddings_pil = [Image.fromarray(face) for face in anomaly_faces_embeddings] if anomaly_faces_embeddings is not None else []
|
31 |
anomaly_frames_posture_pil = [Image.fromarray(frame) for frame in anomaly_frames_posture_images] if anomaly_frames_posture_images is not None else []
|
|
|
24 |
face_samples_frequent, \
|
25 |
anomaly_faces_embeddings, anomaly_frames_posture_images, \
|
26 |
aligned_faces_folder, frames_folder, \
|
27 |
+
heatmap_video_path, correlation_heatmap, combined_mse_plot, combined_heatmap = results
|
|
|
28 |
|
29 |
anomaly_faces_embeddings_pil = [Image.fromarray(face) for face in anomaly_faces_embeddings] if anomaly_faces_embeddings is not None else []
|
30 |
anomaly_frames_posture_pil = [Image.fromarray(frame) for frame in anomaly_frames_posture_images] if anomaly_frames_posture_images is not None else []
|