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

Method tlbr_to_tlwh

tutorials/fairmot/tracker.py:162–165  ·  view source on GitHub ↗
(tlbr)

Source from the content-addressed store, hash-verified

160 @staticmethod
161 # @jit(nopython=True)
162 def tlbr_to_tlwh(tlbr):
163 ret = np.asarray(tlbr).copy()
164 ret[2:] -= ret[:2]
165 return ret
166
167 @staticmethod
168 # @jit(nopython=True)

Callers 1

updateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected