Spaces:
Runtime error
Runtime error
Commit
·
c6597f3
1
Parent(s):
e15ffbb
Update inference.py
Browse files- inference.py +1 -1
inference.py
CHANGED
@@ -330,7 +330,7 @@ def do_tracking(all_preds, image_meter_width, image_meter_height, gp=None, max_a
|
|
330 |
|
331 |
return json_data
|
332 |
|
333 |
-
def do_associative_tracking(inference, image_shapes, width, height, image_meter_width, image_meter_height, gp=None, low_thresh=0.
|
334 |
|
335 |
if (gp): gp(0, "Tracking...")
|
336 |
|
|
|
330 |
|
331 |
return json_data
|
332 |
|
333 |
+
def do_associative_tracking(inference, image_shapes, width, height, image_meter_width, image_meter_height, gp=None, low_thresh=0.2, high_threshold=0.2, max_age=MAX_AGE, iou_thres=IOU_THRES, min_hits=MIN_HITS, min_length=MIN_LENGTH, batch_size=BATCH_SIZE, verbose=True):
|
334 |
|
335 |
if (gp): gp(0, "Tracking...")
|
336 |
|