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