Interface ImageObjectDetectionAnnotationOrBuilder

public interface ImageObjectDetectionAnnotationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBoundingBox()

public abstract BoundingPoly getBoundingBox()

Output only. The rectangle representing the object location.

.google.cloud.automl.v1beta1.BoundingPoly bounding_box = 1;

Returns
TypeDescription
BoundingPoly

The boundingBox.

getBoundingBoxOrBuilder()

public abstract BoundingPolyOrBuilder getBoundingBoxOrBuilder()

Output only. The rectangle representing the object location.

.google.cloud.automl.v1beta1.BoundingPoly bounding_box = 1;

Returns
TypeDescription
BoundingPolyOrBuilder

getScore()

public abstract 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
TypeDescription
float

The score.

hasBoundingBox()

public abstract boolean hasBoundingBox()

Output only. The rectangle representing the object location.

.google.cloud.automl.v1beta1.BoundingPoly bounding_box = 1;

Returns
TypeDescription
boolean

Whether the boundingBox field is set.