import numpy as np
from pydantic import BaseModel, ConfigDict


class RotationResult(BaseModel):
    model_config = ConfigDict(arbitrary_types_allowed=True)

    matched: bool
    initial_angle: float
    precise_angle: float
    confidence: float
    homography: np.ndarray
    inlier_count: int = 0

