Cloud Video Intelligence V1beta2 Client - Class FaceAnnotation (1.15.5)

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
Name Description
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
Type Description
string

setThumbnail

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

Parameter
Name Description
var string
Returns
Type Description
$this

getSegments

All video segments where a face was detected.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSegments

All video segments where a face was detected.

Parameter
Name Description
var array<Google\Cloud\VideoIntelligence\V1beta2\FaceSegment>
Returns
Type Description
$this

getFrames

All video frames where a face was detected.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setFrames

All video frames where a face was detected.

Parameter
Name Description
var array<Google\Cloud\VideoIntelligence\V1beta2\FaceFrame>
Returns
Type Description
$this