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()

No description

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()

No description

Return Value

mixed

The data that will be encoded to JSON