MCPcopy Create free account
hub / github.com/FoundationVision/ByteTrack / __init__

Method __init__

tutorials/centertrack/byte_tracker.py:147–152  ·  view source on GitHub ↗
(self, args, frame_rate=30)

Source from the content-addressed store, hash-verified

145
146class BYTETracker(object):
147 def __init__(self, args, frame_rate=30):
148 self.args = args
149 self.det_thresh = args.new_thresh
150 self.buffer_size = int(frame_rate / 30.0 * args.track_buffer)
151 self.max_time_lost = self.buffer_size
152 self.reset()
153
154 # below has no effect to final output, just to be compatible to codebase
155 def init_track(self, results):

Callers

nothing calls this directly

Calls 1

resetMethod · 0.95

Tested by

no test coverage detected