class DetectionFace implements DynamicMetadataInterface (View source)

Properties

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

Methods

__construct()

DetectionFace constructor.

createFromDecodedJsonResponse(array $data)

Create a SubjectArea from the decoded JSON data.

static string
getName()

No description

mixed
getForJson()

Get the data, which should be json-fied later.

Details

__construct()

DetectionFace constructor.

static DynamicMetadataInterface createFromDecodedJsonResponse(array $data)

Create a SubjectArea from the decoded JSON data.

Parameters

array $data

Decoded JSON data

Return Value

DynamicMetadataInterface

static string getName()

No description

Return Value

string

The name of the metadata

mixed getForJson()

Get the data, which should be json-fied later.

Return Value

mixed