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
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
|
↳ annotation_spec |
Google\Cloud\DataLabeling\V1beta1\AnnotationSpec
Label of object in this bounding polygon. |
getBoundingPoly
Generated from protobuf field .google.cloud.datalabeling.v1beta1.BoundingPoly bounding_poly = 2;
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\DataLabeling\V1beta1\BoundingPoly|null |
|
hasBoundingPoly
setBoundingPoly
Generated from protobuf field .google.cloud.datalabeling.v1beta1.BoundingPoly bounding_poly = 2;
| 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 = 3;
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\DataLabeling\V1beta1\NormalizedBoundingPoly|null |
|
hasNormalizedBoundingPoly
setNormalizedBoundingPoly
Generated from protobuf field .google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly normalized_bounding_poly = 3;
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\DataLabeling\V1beta1\NormalizedBoundingPoly
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAnnotationSpec
Label of object in this bounding polygon.
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\DataLabeling\V1beta1\AnnotationSpec|null |
|
hasAnnotationSpec
clearAnnotationSpec
setAnnotationSpec
Label of object in this bounding polygon.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\DataLabeling\V1beta1\AnnotationSpec
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getBoundedArea
| Returns | |
|---|---|
| Type | Description |
string |
|