Cloud Video Intelligence V1 Client - Class FaceAnnotation (1.12.16)

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

Deprecated. No effect.

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

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\V1\FaceSegment>

All video segments where a face was detected.

↳ frames array<Google\Cloud\VideoIntelligence\V1\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\V1\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\V1\FaceFrame>
Returns
TypeDescription
$this