Cloud Video Intelligence V1 Client - Class TimestampedObject (2.0.5)

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

For tracking related features.

An object at time_offset with attributes, and located with normalized_bounding_box.

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

Namespace

Google \ Cloud \ VideoIntelligence \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ normalized_bounding_box
NormalizedBoundingBox

Normalized Bounding box in a frame, where the object is located.

↳ time_offset
Google\Protobuf\Duration

Time-offset, relative to the beginning of the video, corresponding to the video frame for this object.

↳ attributes
array< DetectedAttribute >

Optional. The attributes of the object in the bounding box.

↳ landmarks
array< DetectedLandmark >

Optional. The detected landmarks.

getNormalizedBoundingBox

Normalized Bounding box in a frame, where the object is located.

Returns
Type
Description

hasNormalizedBoundingBox

clearNormalizedBoundingBox

setNormalizedBoundingBox

Normalized Bounding box in a frame, where the object is located.

Parameter
Name
Description
Returns
Type
Description
$this

getTimeOffset

Time-offset, relative to the beginning of the video, corresponding to the video frame for this object.

Returns
Type
Description

hasTimeOffset

clearTimeOffset

setTimeOffset

Time-offset, relative to the beginning of the video, corresponding to the video frame for this object.

Parameter
Name
Description
Returns
Type
Description
$this

getAttributes

Optional. The attributes of the object in the bounding box.

Returns
Type
Description

setAttributes

Optional. The attributes of the object in the bounding box.

Parameter
Name
Description
var
Returns
Type
Description
$this

getLandmarks

Optional. The detected landmarks.

Returns
Type
Description

setLandmarks

Optional. The detected landmarks.

Parameter
Name
Description
var
array< DetectedLandmark >
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: