Get current position in bounding box format `(top left x, top left y, width, height)`.
(self)
| 123 | @property |
| 124 | # @jit(nopython=True) |
| 125 | def tlwh(self): |
| 126 | """Get current position in bounding box format `(top left x, top left y, |
| 127 | width, height)`. |
| 128 | """ |
| 129 | if self.mean is None: |
| 130 | return self._tlwh.copy() |
| 131 | ret = self.mean[:4].copy() |
| 132 | ret[2] *= ret[3] |
| 133 | ret[:2] -= ret[2:] / 2 |
| 134 | return ret |
| 135 | |
| 136 | @property |
| 137 | # @jit(nopython=True) |
nothing calls this directly
no outgoing calls
no test coverage detected