15 lines
314 B
PHP
15 lines
314 B
PHP
<?php
|
|
|
|
namespace App\Services\FileTools\OCR;
|
|
|
|
interface IImageOCR
|
|
{
|
|
/**
|
|
* Perform OCR on the given file.
|
|
*
|
|
* @param string $filePath The path to the file to be processed.
|
|
* @return string The extracted text from the file.
|
|
*/
|
|
public function performOCR(string $filePath): string;
|
|
}
|