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

Method tlwh_to_tlbr

tutorials/fairmot/tracker.py:169–172  ·  view source on GitHub ↗
(tlwh)

Source from the content-addressed store, hash-verified

167 @staticmethod
168 # @jit(nopython=True)
169 def tlwh_to_tlbr(tlwh):
170 ret = np.asarray(tlwh).copy()
171 ret[2:] += ret[:2]
172 return ret
173
174 def __repr__(self):
175 return 'OT_{}_({}-{})'.format(self.track_id, self.start_frame, self.end_frame)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected