"""Lightweight ONNX Runtime inference for SAM 2."""

from importlib.metadata import PackageNotFoundError, version

from sam2_onnx.metadata import ModelMetadata
from sam2_onnx.predictor import OnnxImagePredictor
from sam2_onnx.session import Sam2OnnxSession


try:
    __version__ = version("sam2-onnx")
except PackageNotFoundError:
    __version__ = "0.0.0"

__all__ = ["ModelMetadata", "OnnxImagePredictor", "Sam2OnnxSession"]
