15 lines
348 B
PHP
15 lines
348 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Contracts\Images;
|
|
|
|
use App\Data\Images\SubjectDetectionResultData;
|
|
|
|
interface SubjectDetectorInterface
|
|
{
|
|
/**
|
|
* @param array<string, mixed> $context
|
|
*/
|
|
public function detect(string $sourcePath, int $sourceWidth, int $sourceHeight, array $context = []): ?SubjectDetectionResultData;
|
|
} |