Implement creator studio and upload updates
This commit is contained in:
15
app/Contracts/Images/SubjectDetectorInterface.php
Normal file
15
app/Contracts/Images/SubjectDetectorInterface.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?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;
|
||||
}
|
||||
Reference in New Issue
Block a user