Get current position in bounding box format `(top left x, top left y, width, height)`.
(self)
| 101 | @property |
| 102 | # @jit(nopython=True) |
| 103 | def tlwh(self): |
| 104 | """Get current position in bounding box format `(top left x, top left y, |
| 105 | width, height)`. |
| 106 | """ |
| 107 | if self.mean is None: |
| 108 | return self._tlwh.copy() |
| 109 | ret = self.mean[:4].copy() |
| 110 | ret[2] *= ret[3] |
| 111 | ret[:2] -= ret[2:] / 2 |
| 112 | return ret |
| 113 | |
| 114 | @property |
| 115 | # @jit(nopython=True) |
nothing calls this directly
no outgoing calls
no test coverage detected