with a glass of water

This commit is contained in:
didier committed 2024-11-16 20:35:27 -05:00
1 parent a220035126
commit 31b9e85912
6 files changed
+115 -9

No files matched your search

+1 -3
View File
@@ -82,15 +82,13 @@ def process_logic(input_: Path,
np.arange(0.5, 1, 0.05)
]
transformation_matrix = get_court_perspective_transform()
with get_video_writer(display_video, input_, output_dir / 'video.mov') as video_writer:
with create_data_dumper(input_, output_dir / 'data.sqlite', metadata) as data_dumper:
tracker = DodgeballTracker(input_,
video_writer,
data_dumper,
detected_box_objects,
transformation_matrix)
metadata.get_view_perspective_matrix())
with time_tracker():
tracker.main()