boxmot.engine.calibration.cmc
Image-only camera analysis shared by joint camera/Kalman selection candidates.
PreparedCMCCandidates
dataclass
PreparedCMCCandidates(
warps: Mapping[str, ndarray],
policy: SequenceCMCPolicy,
report_path: Path,
warps_path: Path,
report: Mapping[str, Any],
mask_min_conf: float,
)
Frozen camera behavior reused for every filter, profile, and fold.
warps[sequence][frame] maps the preceding delivered frame to the
current frame, with identity at frame zero and on disabled sequences.
The NPZ artifact retains raw estimates even for disabled sequences.
cmc_analysis_settings
Describe the resolved SOF estimator and sequence gate in saved JSON.
prepare_cmc_candidates
prepare_cmc_candidates(
args: Namespace,
baseline: Mapping[str, Any],
output_dir: str | Path,
progress: Callable[[str], None] | None = None,
) -> PreparedCMCCandidates
Prepare image-only off and automatic SOF behavior for joint selection.
args must already contain the evaluator's resolved build_path,
split, seq_info, and optional sequence_names. No ground-truth
coordinates, tracker predictions, or tracking metrics enter the decision.
The caller freezes the returned masking threshold in subsequent tuning.