Cloud Video Intelligence V1beta2 Client - Class FaceAnnotation (1.14.2)

Reference documentation and code samples for the Cloud Video Intelligence V1beta2 Client class FaceAnnotation.

Face annotation.

Generated from protobuf message google.cloud.videointelligence.v1beta2.FaceAnnotation

Namespace

Google \ Cloud \ VideoIntelligence \ V1beta2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ thumbnail string

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

↳ segments array<Google\Cloud\VideoIntelligence\V1beta2\FaceSegment>

All video segments where a face was detected.

↳ frames array<Google\Cloud\VideoIntelligence\V1beta2\FaceFrame>

All video frames where a face was detected.

getThumbnail

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

Returns
TypeDescription
string

setThumbnail

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSegments

All video segments where a face was detected.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setSegments

All video segments where a face was detected.

Parameter
NameDescription
var array<Google\Cloud\VideoIntelligence\V1beta2\FaceSegment>
Returns
TypeDescription
$this

getFrames

All video frames where a face was detected.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setFrames

All video frames where a face was detected.

Parameter
NameDescription
var array<Google\Cloud\VideoIntelligence\V1beta2\FaceFrame>
Returns
TypeDescription
$this