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

Method tlbr_to_tlwh

tutorials/qdtrack/tracker_reid_motion.py:149–152  ·  view source on GitHub ↗
(tlbr)

Source from the content-addressed store, hash-verified

147 @staticmethod
148 # @jit(nopython=True)
149 def tlbr_to_tlwh(tlbr):
150 ret = np.asarray(tlbr).copy()
151 ret[2:] -= ret[:2]
152 return ret
153
154 @staticmethod
155 # @jit(nopython=True)

Callers 1

updateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected