class DetectionFace implements DynamicMetadataInterface (View source)

Properties

int $width
int $height
int $x
int $y

Methods

__construct()

DetectionFace constructor.

createFromJsonResponse(string|array $data, bool $isArray = false)

Create a SubjectArea from the JSON data.

static string
getName()

No description

Details

__construct()

DetectionFace constructor.

static DynamicMetadataInterface createFromJsonResponse(string|array $data, bool $isArray = false)

Create a SubjectArea from the JSON data.

Parameters

string|array $data

JSON data

bool $isArray

If the data provided is already an array

Return Value

DynamicMetadataInterface

static string getName()

No description

Return Value

string

The name of the metadata