Cloud Video Intelligence V1 Client - Class Track (2.0.5)

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

A track of an object instance.

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

Namespace

Google \ Cloud \ VideoIntelligence \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ segment
VideoSegment

Video segment of a track.

↳ timestamped_objects
array< TimestampedObject >

The object with timestamp and attributes per frame in the track.

↳ attributes
array< DetectedAttribute >

Optional. Attributes in the track level.

↳ confidence
float

Optional. The confidence score of the tracked object.

getSegment

Video segment of a track.

Returns
Type
Description
VideoSegment |null

hasSegment

clearSegment

setSegment

Video segment of a track.

Parameter
Name
Description
Returns
Type
Description
$this

getTimestampedObjects

The object with timestamp and attributes per frame in the track.

Returns
Type
Description

setTimestampedObjects

The object with timestamp and attributes per frame in the track.

Parameter
Name
Description
var
Returns
Type
Description
$this

getAttributes

Optional. Attributes in the track level.

Returns
Type
Description

setAttributes

Optional. Attributes in the track level.

Parameter
Name
Description
var
Returns
Type
Description
$this

getConfidence

Optional. The confidence score of the tracked object.

Returns
Type
Description
float

setConfidence

Optional. The confidence score of the tracked object.

Parameter
Name
Description
var
float
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: