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

Method __init__

tutorials/trades/byte_tracker.py:148–153  ·  view source on GitHub ↗
(self, args, frame_rate=30)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

resetMethod · 0.95

Tested by

no test coverage detected