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 \ V1Methods
__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 |
var |
VideoSegment
|
Returns | |
---|---|
Type | Description |
$this |
getTimestampedObjects
The object with timestamp and attributes per frame in the track.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setTimestampedObjects
The object with timestamp and attributes per frame in the track.
Parameter | |
---|---|
Name | Description |
var |
array<TimestampedObject>
|
Returns | |
---|---|
Type | Description |
$this |
getAttributes
Optional. Attributes in the track level.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setAttributes
Optional. Attributes in the track level.
Parameter | |
---|---|
Name | Description |
var |
array<DetectedAttribute>
|
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 |