Update video_processing.py
Browse files- video_processing.py +1 -1
video_processing.py
CHANGED
|
@@ -187,7 +187,7 @@ def process_video(video_path, anomaly_threshold, desired_fps, progress=None):
|
|
| 187 |
print(f"Error details: {str(e)}")
|
| 188 |
import traceback
|
| 189 |
traceback.print_exc()
|
| 190 |
-
return (f"Error in video processing: {str(e)}",) + (None,) *
|
| 191 |
|
| 192 |
progress(1.0, "Preparing results")
|
| 193 |
results = f"Number of persons detected: {num_clusters}\n\n"
|
|
|
|
| 187 |
print(f"Error details: {str(e)}")
|
| 188 |
import traceback
|
| 189 |
traceback.print_exc()
|
| 190 |
+
return (f"Error in video processing: {str(e)}",) + (None,) * 16
|
| 191 |
|
| 192 |
progress(1.0, "Preparing results")
|
| 193 |
results = f"Number of persons detected: {num_clusters}\n\n"
|