Cloud Video Intelligence V1 Client - Class ObjectTrackingFrame (1.12.16)

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

Video frame level annotations for object detection and tracking. This field stores per frame location, time offset, and confidence.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ normalized_bounding_box Google\Cloud\VideoIntelligence\V1\NormalizedBoundingBox

The normalized bounding box location of this object track for the frame.

↳ time_offset Google\Protobuf\Duration

The timestamp of the frame in microseconds.

getNormalizedBoundingBox

The normalized bounding box location of this object track for the frame.

Returns
TypeDescription
Google\Cloud\VideoIntelligence\V1\NormalizedBoundingBox|null

hasNormalizedBoundingBox

clearNormalizedBoundingBox

setNormalizedBoundingBox

The normalized bounding box location of this object track for the frame.

Parameter
NameDescription
var Google\Cloud\VideoIntelligence\V1\NormalizedBoundingBox
Returns
TypeDescription
$this

getTimeOffset

The timestamp of the frame in microseconds.

Returns
TypeDescription
Google\Protobuf\Duration|null

hasTimeOffset

clearTimeOffset

setTimeOffset

The timestamp of the frame in microseconds.

Parameter
NameDescription
var Google\Protobuf\Duration
Returns
TypeDescription
$this