MCPcopy Index your code
hub / github.com/FoundationVision/ByteTrack / tlbr_to_tlwh

Method tlbr_to_tlwh

tutorials/jde/tracker.py:141–144  ·  view source on GitHub ↗
(tlbr)

Source from the content-addressed store, hash-verified

139
140 @staticmethod
141 def tlbr_to_tlwh(tlbr):
142 ret = np.asarray(tlbr).copy()
143 ret[2:] -= ret[:2]
144 return ret
145
146 @staticmethod
147 def tlwh_to_tlbr(tlwh):

Callers 1

updateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected