Google Cloud Datalabeling V1beta1 Client - Class ObjectTrackingFrame (0.5.4)

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
Name Description
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
Type Description
Google\Cloud\DataLabeling\V1beta1\BoundingPoly|null

hasBoundingPoly

setBoundingPoly

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

Parameter
Name Description
var Google\Cloud\DataLabeling\V1beta1\BoundingPoly
Returns
Type Description
$this

getNormalizedBoundingPoly

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

Returns
Type Description
Google\Cloud\DataLabeling\V1beta1\NormalizedBoundingPoly|null

hasNormalizedBoundingPoly

setNormalizedBoundingPoly

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

Parameter
Name Description
var Google\Cloud\DataLabeling\V1beta1\NormalizedBoundingPoly
Returns
Type Description
$this

getTimeOffset

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

Returns
Type Description
Google\Protobuf\Duration|null

hasTimeOffset

clearTimeOffset

setTimeOffset

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

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

getBoundedArea

Returns
Type Description
string