Cloud Video Intelligence V1 Client - Class TimestampedObject (2.0.0-RC1)

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 Google\Cloud\VideoIntelligence\V1\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<Google\Cloud\VideoIntelligence\V1\DetectedAttribute>

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

↳ landmarks array<Google\Cloud\VideoIntelligence\V1\DetectedLandmark>

Optional. The detected landmarks.

getNormalizedBoundingBox

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

Returns
Type Description
Google\Cloud\VideoIntelligence\V1\NormalizedBoundingBox|null

hasNormalizedBoundingBox

clearNormalizedBoundingBox

setNormalizedBoundingBox

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

Parameter
Name Description
var Google\Cloud\VideoIntelligence\V1\NormalizedBoundingBox
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
Google\Protobuf\Duration|null

hasTimeOffset

clearTimeOffset

setTimeOffset

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

Parameter
Name Description
var Google\Protobuf\Duration
Returns
Type Description
$this

getAttributes

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

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setAttributes

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

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

getLandmarks

Optional. The detected landmarks.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setLandmarks

Optional. The detected landmarks.

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