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

Method tlwh_to_tlbr

tutorials/cstrack/tracker.py:160–163  ·  view source on GitHub ↗
(tlwh)

Source from the content-addressed store, hash-verified

158 @staticmethod
159 # @jit(nopython=True)
160 def tlwh_to_tlbr(tlwh):
161 ret = np.asarray(tlwh).copy()
162 ret[2:] += ret[:2]
163 return ret
164
165 def __repr__(self):
166 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