"""
==================================================
Smart Attendance AI
Image Data Model
==================================================
"""

from dataclasses import dataclass
from typing import Optional

import numpy as np


@dataclass(slots=True)
class ImageData:
    """
    Shared image object used across the AI service.
    """

    image: np.ndarray

    width: int

    height: int

    channels: int

    file_size: int

    content_type: str

    filename: str

    color_mode: str = "BGR"

    quality_score: Optional[float] = None