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

Method tlbr_to_tlwh

tutorials/centertrack/byte_tracker.py:129–132  ·  view source on GitHub ↗
(tlbr)

Source from the content-addressed store, hash-verified

127 @staticmethod
128 # @jit(nopython=True)
129 def tlbr_to_tlwh(tlbr):
130 ret = np.asarray(tlbr).copy()
131 ret[2:] -= ret[:2]
132 return ret
133
134 @staticmethod
135 # @jit(nopython=True)

Callers 1

stepMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected