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