Spaces:
Runtime error
Runtime error
Commit
·
30d8e51
1
Parent(s):
64b1104
updated the output path
Browse files
track.py
CHANGED
@@ -383,7 +383,7 @@ def MOT(yoloweights, trackingmethod, sourceVideo):
|
|
383 |
main(opt)
|
384 |
save_dir = increment_path('runs/track/exp', exist_ok=False)
|
385 |
input = os.path.join(save_dir,'out.mp4')
|
386 |
-
outpath = 'output/'+ 'output.mp4'
|
387 |
command = f"ffmpeg -i {input} -vf fps=30 -vcodec libx264 {outpath}"
|
388 |
print(command)
|
389 |
os.system(command)
|
|
|
383 |
main(opt)
|
384 |
save_dir = increment_path('runs/track/exp', exist_ok=False)
|
385 |
input = os.path.join(save_dir,'out.mp4')
|
386 |
+
outpath = 'output.mp4' #'output/'+ 'output.mp4'
|
387 |
command = f"ffmpeg -i {input} -vf fps=30 -vcodec libx264 {outpath}"
|
388 |
print(command)
|
389 |
os.system(command)
|