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

Method tlwh_to_tlbr

yolox/tracker/byte_tracker.py:136–139  ·  view source on GitHub ↗
(tlwh)

Source from the content-addressed store, hash-verified

134 @staticmethod
135 # @jit(nopython=True)
136 def tlwh_to_tlbr(tlwh):
137 ret = np.asarray(tlwh).copy()
138 ret[2:] += ret[:2]
139 return ret
140
141 def __repr__(self):
142 return 'OT_{}_({}-{})'.format(self.track_id, self.start_frame, self.end_frame)

Callers 1

v_iou_distanceFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected