<?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 = [],
    ) {
    }
}