moved files
This commit is contained in:
1 parent
f23f17d428
commit
292c7762cd
5 files changed
+112
No files matched your search
@@ -0,0 +1,19 @@
|
||||
from pathlib import Path
|
||||
|
||||
from dodgeballtracker.logic import DetectedObjectBox, main
|
||||
import numpy as np
|
||||
|
||||
|
||||
here = Path(__file__).parent
|
||||
input_dir = here / '..' / 'data'
|
||||
output_dir = here / '..' / 'data'
|
||||
|
||||
if __name__ == "__main__":
|
||||
detected_box_objects = [
|
||||
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"
|
||||
|
||||
main(input_video, output_video, detected_box_objects)
|
||||
Reference in new issue
Block a user