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