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

Method tlbr

yolox/tracker/byte_tracker.py:105–111  ·  view source on GitHub ↗

Convert bounding box to format `(min x, min y, max x, max y)`, i.e., `(top left, bottom right)`.

(self)

Source from the content-addressed store, hash-verified

103 @property
104 # @jit(nopython=True)
105 def tlbr(self):
106 """Convert bounding box to format `(min x, min y, max x, max y)`, i.e.,
107 `(top left, bottom right)`.
108 """
109 ret = self.tlwh.copy()
110 ret[2:] += ret[:2]
111 return ret
112
113 @staticmethod
114 # @jit(nopython=True)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected