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_file_signature
Bind camera evidence to a regular file's identity and mutation epoch.
cmc_build_signature
Snapshot published artifacts without traversing source images or workflow outputs.
cmc_image_signature
Resolve references again so replaced images and redirected links invalidate reuse.
cmc_runtime_mask_settings
Distinguish native runtime masking from an explicit frozen confidence.
cmc_analysis_settings
Describe the resolved SOF estimator and sequence gate in saved JSON.
cmc_analysis_inputs
Describe camera content independently of workers and workflow output paths.
prepare_cmc_candidates
prepare_cmc_candidates(
args: Namespace,
baseline: Mapping[str, Any],
output_dir: str | Path,
progress: Callable[[str], None] | None = None,
) -> PreparedCMCCandidates
Reuse or materialize camera evidence, then copy it into this workflow's output.
Estimation is deferred until requested because the detection mask depends on
tracker settings. Independent eval, tuning, and joint-selection runs share
the validated artifacts under build/cmc/<key>.