going somewhere
This commit is contained in:
1 parent
a7cb0e7fa7
commit
1da186a759
8 files changed
+3660
-6883
No files matched your search
@@ -1,6 +1,8 @@
|
||||
from pathlib import Path
|
||||
|
||||
from dodgeballtracker.logic import DetectedObjectBox, DodgeballTracker
|
||||
from dodgeballtracker.logic import (DetectedObjectBox,
|
||||
DodgeballTracker,
|
||||
get_court_perspective_transform)
|
||||
import numpy as np
|
||||
|
||||
|
||||
@@ -13,8 +15,10 @@ if __name__ == "__main__":
|
||||
DetectedObjectBox.from_viridis(threshold) for threshold in np.arange(0.5, 1, 0.05)
|
||||
]
|
||||
input_video = input_dir / "micro.mp4"
|
||||
output_video = output_dir / "output.mp4"
|
||||
output_video = output_dir / "output-lmbn_n_cuhk03_d.mp4"
|
||||
|
||||
dodgeball_tracker = DodgeballTracker(input_video, output_video, detected_box_objects)
|
||||
transformation_matrix = get_court_perspective_transform()
|
||||
|
||||
dodgeball_tracker = DodgeballTracker(input_video, output_video, detected_box_objects, transformation_matrix)
|
||||
|
||||
dodgeball_tracker.main()
|
||||
Reference in new issue
Block a user