Reference documentation and code samples for the Google Cloud Datalabeling V1beta1 Client class ImageBoundingPolyAnnotation.
Image bounding poly annotation. It represents a polygon including bounding box in the image.
Generated from protobuf message google.cloud.datalabeling.v1beta1.ImageBoundingPolyAnnotation
Namespace
Google \ Cloud \ DataLabeling \ V1beta1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ bounding_poly |
BoundingPoly
|
↳ normalized_bounding_poly |
NormalizedBoundingPoly
|
↳ annotation_spec |
AnnotationSpec
Label of object in this bounding polygon. |
getBoundingPoly
Generated from protobuf field .google.cloud.datalabeling.v1beta1.BoundingPoly bounding_poly = 2;
Returns | |
---|---|
Type | Description |
BoundingPoly|null |
hasBoundingPoly
setBoundingPoly
Generated from protobuf field .google.cloud.datalabeling.v1beta1.BoundingPoly bounding_poly = 2;
Parameter | |
---|---|
Name | Description |
var |
BoundingPoly
|
Returns | |
---|---|
Type | Description |
$this |
getNormalizedBoundingPoly
Generated from protobuf field .google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly normalized_bounding_poly = 3;
Returns | |
---|---|
Type | Description |
NormalizedBoundingPoly|null |
hasNormalizedBoundingPoly
setNormalizedBoundingPoly
Generated from protobuf field .google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly normalized_bounding_poly = 3;
Parameter | |
---|---|
Name | Description |
var |
NormalizedBoundingPoly
|
Returns | |
---|---|
Type | Description |
$this |
getAnnotationSpec
Label of object in this bounding polygon.
Returns | |
---|---|
Type | Description |
AnnotationSpec|null |
hasAnnotationSpec
clearAnnotationSpec
setAnnotationSpec
Label of object in this bounding polygon.
Parameter | |
---|---|
Name | Description |
var |
AnnotationSpec
|
Returns | |
---|---|
Type | Description |
$this |
getBoundedArea
Returns | |
---|---|
Type | Description |
string |