Implement creator studio and upload updates
This commit is contained in:
20
app/Data/Images/SubjectDetectionResultData.php
Normal file
20
app/Data/Images/SubjectDetectionResultData.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Data\Images;
|
||||
|
||||
final readonly class SubjectDetectionResultData
|
||||
{
|
||||
/**
|
||||
* @param array<string, mixed> $meta
|
||||
*/
|
||||
public function __construct(
|
||||
public CropBoxData $cropBox,
|
||||
public string $strategy,
|
||||
public ?string $reason = null,
|
||||
public float $confidence = 0.0,
|
||||
public array $meta = [],
|
||||
) {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user