Get current position in bounding box format `(top left x, top left y, width, height)`.
(self)
| 114 | @property |
| 115 | # @jit(nopython=True) |
| 116 | def tlwh(self): |
| 117 | """Get current position in bounding box format `(top left x, top left y, |
| 118 | width, height)`. |
| 119 | """ |
| 120 | if self.mean is None: |
| 121 | return self._tlwh.copy() |
| 122 | ret = self.mean[:4].copy() |
| 123 | ret[2] *= ret[3] |
| 124 | ret[:2] -= ret[2:] / 2 |
| 125 | return ret |
| 126 | |
| 127 | @property |
| 128 | # @jit(nopython=True) |
nothing calls this directly
no outgoing calls
no test coverage detected