from pydantic import BaseModel


class OptimizationResult(BaseModel):
    converged: bool
    final_error: float
    iterations_used: int
    optimized_frames: list[int]
    mean_reprojection_error: float = 0.0

