rachana219 commited on
Commit
f5c50b7
·
1 Parent(s): 4147273

fixed track.MOT issue

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -177,7 +177,7 @@ def inference2(video,model_link,iou_threshold,confidence_threshold):
177
 
178
  def MODT(sourceVideo, model_link, trackingmethod):
179
  model_path = 'weights/'+str(model_link)+'.pt'
180
- return track.MOT(model_path, trackingmethod, sourceVideo), 30
181
 
182
 
183
  examples_images = ['data/images/1.jpg',
 
177
 
178
  def MODT(sourceVideo, model_link, trackingmethod):
179
  model_path = 'weights/'+str(model_link)+'.pt'
180
+ return MOT(model_path, trackingmethod, sourceVideo), 30
181
 
182
 
183
  examples_images = ['data/images/1.jpg',