Cloud Video Intelligence V1 Client - Class PersonDetectionAnnotation (1.15.5)

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

Person detection annotation per video.

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

Namespace

Google \ Cloud \ VideoIntelligence \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

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

The detected tracks of a person.

↳ version string

Feature version.

getTracks

The detected tracks of a person.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setTracks

The detected tracks of a person.

Parameter
Name Description
var array<Google\Cloud\VideoIntelligence\V1\Track>
Returns
Type Description
$this

getVersion

Feature version.

Returns
Type Description
string

setVersion

Feature version.

Parameter
Name Description
var string
Returns
Type Description
$this