states.KalmanBBox.state_entries
def state_entries(self, meas_field: str | None = None, init_cov_scale: float = 1.0) -> dict[str, State]Return ``(mean, cov)`` :class:`~unitrack.states.State` entries.
Mean is a 7-D ``[x, y, a, h, vx, vy, va]`` (SORT) or 8-D
``[x, y, a, h, vx, vy, va, vh]`` (DeepSORT) state seeded from the
detection field ``meas_field``; the detection must already be in
``[x, y, a, h]`` order — convert from xyxy upstream.
Parameters
| Name | Type | Description |
|---|---|---|
| meas_field = None | str | Detection field that supplies the initial measurement. Defaults to :attr:`field`. |
| init_cov_scale = 1.0 | float | Scale applied to the identity matrix used to initialise the covariance. Default ``1.0``. |
Returns
dict — Two :class:`~unitrack.states.State` entries keyed by ``self.field`` (mean) and ``f"{self.field}_cov"`` (covariance).
Source: unitrack/states/kalman/bbox.py:183