Interface ImageObjectDetectionAnnotationOrBuilder (2.46.0)

public interface ImageObjectDetectionAnnotationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBoundingBox()

public abstract BoundingPoly getBoundingBox()

Output only. The rectangle representing the object location.

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

Returns
Type Description
BoundingPoly

The boundingBox.

getBoundingBoxOrBuilder()

public abstract BoundingPolyOrBuilder getBoundingBoxOrBuilder()

Output only. The rectangle representing the object location.

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

Returns
Type Description
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
Type Description
float

The score.

hasBoundingBox()

public abstract boolean hasBoundingBox()

Output only. The rectangle representing the object location.

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

Returns
Type Description
boolean

Whether the boundingBox field is set.