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