Get current position in bounding box format `(top left x, top left y, width, height)`.
(self)
| 90 | @property |
| 91 | # @jit(nopython=True) |
| 92 | def tlwh(self): |
| 93 | """Get current position in bounding box format `(top left x, top left y, |
| 94 | width, height)`. |
| 95 | """ |
| 96 | if self.mean is None: |
| 97 | return self._tlwh.copy() |
| 98 | ret = self.mean[:4].copy() |
| 99 | ret[2] *= ret[3] |
| 100 | ret[:2] -= ret[2:] / 2 |
| 101 | return ret |
| 102 | |
| 103 | @property |
| 104 | # @jit(nopython=True) |
nothing calls this directly
no outgoing calls
no test coverage detected