Spaces:
Runtime error
Runtime error
Commit
·
f5c50b7
1
Parent(s):
4147273
fixed track.MOT issue
Browse files
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
|
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',
|