from abc import ABC, abstractmethod

class DistanceOCR(ABC):

    @abstractmethod
    def get_image_distance(self, image_path: str, **kwargs) -> float | None:
        raise NotImplementedError()

    @abstractmethod
    def get_distance_from_image_data(self, image_bytes: bytes, **kwargs) -> float | None:
        raise NotImplementedError()