Package com.google.cloud.automl.v1beta1
Interface ImageObjectDetectionAnnotationOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ImageObjectDetectionAnnotation
,ImageObjectDetectionAnnotation.Builder
public interface ImageObjectDetectionAnnotationOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BoundingPoly
getBoundingBox()
Output only.BoundingPolyOrBuilder
getBoundingBoxOrBuilder()
Output only.float
getScore()
Output only.boolean
hasBoundingBox()
Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasBoundingBox
boolean hasBoundingBox()
Output only. The rectangle representing the object location.
.google.cloud.automl.v1beta1.BoundingPoly bounding_box = 1;
- Returns:
- Whether the boundingBox field is set.
-
getBoundingBox
BoundingPoly getBoundingBox()
Output only. The rectangle representing the object location.
.google.cloud.automl.v1beta1.BoundingPoly bounding_box = 1;
- Returns:
- The boundingBox.
-
getBoundingBoxOrBuilder
BoundingPolyOrBuilder getBoundingBoxOrBuilder()
Output only. The rectangle representing the object location.
.google.cloud.automl.v1beta1.BoundingPoly bounding_box = 1;
-
getScore
float getScore()
Output only. The confidence that this annotation is positive for the parent example, value in [0, 1], higher means higher positivity confidence.
float score = 2;
- Returns:
- The score.
-
-