Update periodic_detection_function.py
Browse files
periodic_detection_function.py
CHANGED
|
@@ -369,6 +369,6 @@ def run_periodic_detection(video_path, trajectory_path, output_video_path=None,
|
|
| 369 |
"workflow": workflow_multi_paths.tolist() if isinstance(workflow_multi_paths, np.ndarray) else workflow_multi_paths,
|
| 370 |
"period_boundaries": period_boundaries,
|
| 371 |
"window_size": int(win),
|
| 372 |
-
"num_periods": int(period_num),
|
| 373 |
"output_video": output_video_path if make_video else None
|
| 374 |
}
|
|
|
|
| 369 |
"workflow": workflow_multi_paths.tolist() if isinstance(workflow_multi_paths, np.ndarray) else workflow_multi_paths,
|
| 370 |
"period_boundaries": period_boundaries,
|
| 371 |
"window_size": int(win),
|
| 372 |
+
"num_periods": int(period_num+1),
|
| 373 |
"output_video": output_video_path if make_video else None
|
| 374 |
}
|