File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44# Licensed under the Apache License, Version 2.0 [see LICENSE for details]
55# ------------------------------------------------------------------------
66
7+ from typing import ClassVar
8+
79import numpy as np
810import supervision as sv
911from scipy .optimize import linear_sum_assignment
@@ -61,6 +63,15 @@ class OCSORTTracker(BaseTracker):
6163
6264 tracker_id = "ocsort"
6365
66+ search_space : ClassVar [dict [str , dict ]] = {
67+ "lost_track_buffer" : {"type" : "randint" , "range" : [10 , 61 ]},
68+ "minimum_iou_threshold" : {"type" : "uniform" , "range" : [0.1 , 0.5 ]},
69+ "minimum_consecutive_frames" : {"type" : "randint" , "range" : [3 , 6 ]},
70+ "direction_consistency_weight" : {"type" : "uniform" , "range" : [0.0 , 0.5 ]},
71+ "high_conf_det_threshold" : {"type" : "uniform" , "range" : [0.4 , 0.8 ]},
72+ "delta_t" : {"type" : "randint" , "range" : [1 , 4 ]},
73+ }
74+
6475 def __init__ (
6576 self ,
6677 lost_track_buffer : int = 30 ,
You can’t perform that action at this time.
0 commit comments