Google Cloud Datalabeling V1beta1 Client - Class ObjectTrackingFrame (0.3.1)

Reference documentation and code samples for the Google Cloud Datalabeling V1beta1 Client class ObjectTrackingFrame.

Video frame level annotation for object detection and tracking.

Generated from protobuf message google.cloud.datalabeling.v1beta1.ObjectTrackingFrame

Namespace

Google \ Cloud \ DataLabeling \ V1beta1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ bounding_poly Google\Cloud\DataLabeling\V1beta1\BoundingPoly
↳ normalized_bounding_poly Google\Cloud\DataLabeling\V1beta1\NormalizedBoundingPoly
↳ time_offset Google\Protobuf\Duration

The time offset of this frame relative to the beginning of the video.

getBoundingPoly

Generated from protobuf field .google.cloud.datalabeling.v1beta1.BoundingPoly bounding_poly = 1;

Returns
TypeDescription
Google\Cloud\DataLabeling\V1beta1\BoundingPoly|null

hasBoundingPoly

setBoundingPoly

Generated from protobuf field .google.cloud.datalabeling.v1beta1.BoundingPoly bounding_poly = 1;

Parameter
NameDescription
var Google\Cloud\DataLabeling\V1beta1\BoundingPoly
Returns
TypeDescription
$this

getNormalizedBoundingPoly

Generated from protobuf field .google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly normalized_bounding_poly = 2;

Returns
TypeDescription
Google\Cloud\DataLabeling\V1beta1\NormalizedBoundingPoly|null

hasNormalizedBoundingPoly

setNormalizedBoundingPoly

Generated from protobuf field .google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly normalized_bounding_poly = 2;

Parameter
NameDescription
var Google\Cloud\DataLabeling\V1beta1\NormalizedBoundingPoly
Returns
TypeDescription
$this

getTimeOffset

The time offset of this frame relative to the beginning of the video.

Returns
TypeDescription
Google\Protobuf\Duration|null

hasTimeOffset

clearTimeOffset

setTimeOffset

The time offset of this frame relative to the beginning of the video.

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

getBoundedArea

Returns
TypeDescription
string