Cloud Video Intelligence V1 Client - Class FaceDetectionAnnotation (1.14.2)

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

Face detection annotation.

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

Namespace

Google \ Cloud \ VideoIntelligence \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ tracks array<Google\Cloud\VideoIntelligence\V1\Track>

The face tracks with attributes.

↳ thumbnail string

The thumbnail of a person's face.

↳ version string

Feature version.

getTracks

The face tracks with attributes.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setTracks

The face tracks with attributes.

Parameter
NameDescription
var array<Google\Cloud\VideoIntelligence\V1\Track>
Returns
TypeDescription
$this

getThumbnail

The thumbnail of a person's face.

Returns
TypeDescription
string

setThumbnail

The thumbnail of a person's face.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getVersion

Feature version.

Returns
TypeDescription
string

setVersion

Feature version.

Parameter
NameDescription
var string
Returns
TypeDescription
$this