rachana219 commited on
Commit
2778f08
·
1 Parent(s): 561287e

Update track.py

Browse files
Files changed (1) hide show
  1. track.py +1 -1
track.py CHANGED
@@ -381,7 +381,7 @@ def MOT(yoloweights, trackingmethod, sourceVideo):
381
  opt.tracking_config = ROOT / 'trackers' / opt.tracking_method / 'configs' / (opt.tracking_method + '.yaml')
382
  print_args(vars(opt))
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}"
 
381
  opt.tracking_config = ROOT / 'trackers' / opt.tracking_method / 'configs' / (opt.tracking_method + '.yaml')
382
  print_args(vars(opt))
383
  main(opt)
384
+ save_dir = increment_path('runs/track/exp', exist_ok=True)
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}"