class FaceAnnotation extends Message

Face annotation.

Protobuf type Google\Cloud\Videointelligence\V1beta1\FaceAnnotation

Methods

__construct()

No description

string
getThumbnail()

Thumbnail of a representative face view (in JPEG format). Encoding: base64.

setThumbnail(string $var)

Thumbnail of a representative face view (in JPEG format). Encoding: base64.

RepeatedField
getSegments()

All locations where a face was detected.

setSegments(array|RepeatedField $var)

All locations where a face was detected.

RepeatedField
getLocations()

Face locations at one frame per second.

setLocations(array|RepeatedField $var)

Face locations at one frame per second.

Details

at line 39
__construct()

at line 50
string getThumbnail()

Thumbnail of a representative face view (in JPEG format). Encoding: base64.

Generated from protobuf field string thumbnail = 1;

Return Value

string

at line 61
setThumbnail(string $var)

Thumbnail of a representative face view (in JPEG format). Encoding: base64.

Generated from protobuf field string thumbnail = 1;

Parameters

string $var

at line 75
RepeatedField getSegments()

All locations where a face was detected.

Faces are detected and tracked on a per-video basis (as opposed to across multiple videos).

Generated from protobuf field repeated .google.cloud.videointelligence.v1beta1.VideoSegment segments = 2;

Return Value

RepeatedField

at line 88
setSegments(array|RepeatedField $var)

All locations where a face was detected.

Faces are detected and tracked on a per-video basis (as opposed to across multiple videos).

Generated from protobuf field repeated .google.cloud.videointelligence.v1beta1.VideoSegment segments = 2;

Parameters

array|RepeatedField $var

at line 100
RepeatedField getLocations()

Face locations at one frame per second.

Generated from protobuf field repeated .google.cloud.videointelligence.v1beta1.FaceLocation locations = 3;

Return Value

RepeatedField

at line 111
setLocations(array|RepeatedField $var)

Face locations at one frame per second.

Generated from protobuf field repeated .google.cloud.videointelligence.v1beta1.FaceLocation locations = 3;

Parameters

array|RepeatedField $var