<?php

namespace App\Services\OCR;

interface OCRInterface
{
    /**
     * Recognize text from an image.
     *
     * @param string $imagePath Absolute path to the image file.
     * @param array $options Additional options for the OCR provider.
     * @return array Structured result from the OCR provider.
     */
    public function recognize(string $imagePath, array $options = []): array;
}
