Interface ObjectDetectionPredictionResult.IdentifiedBoxOrBuilder (0.2.0)

public static interface ObjectDetectionPredictionResult.IdentifiedBoxOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBoxId()

public abstract long getBoxId()

An unique id for this box.

int64 box_id = 1;

Returns
Type Description
long

The boxId.

getConfidenceScore()

public abstract float getConfidenceScore()

Confidence score associated with this box.

float confidence_score = 3;

Returns
Type Description
float

The confidenceScore.

getEntity()

public abstract ObjectDetectionPredictionResult.Entity getEntity()

Entity of this box.

.google.cloud.visionai.v1.ObjectDetectionPredictionResult.Entity entity = 4;

Returns
Type Description
ObjectDetectionPredictionResult.Entity

The entity.

getEntityOrBuilder()

public abstract ObjectDetectionPredictionResult.EntityOrBuilder getEntityOrBuilder()

Entity of this box.

.google.cloud.visionai.v1.ObjectDetectionPredictionResult.Entity entity = 4;

Returns
Type Description
ObjectDetectionPredictionResult.EntityOrBuilder

getNormalizedBoundingBox()

public abstract ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox getNormalizedBoundingBox()

Bounding Box in the normalized coordinates.

.google.cloud.visionai.v1.ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox normalized_bounding_box = 2;

Returns
Type Description
ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox

The normalizedBoundingBox.

getNormalizedBoundingBoxOrBuilder()

public abstract ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxOrBuilder()

Bounding Box in the normalized coordinates.

.google.cloud.visionai.v1.ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox normalized_bounding_box = 2;

Returns
Type Description
ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBoxOrBuilder

hasEntity()

public abstract boolean hasEntity()

Entity of this box.

.google.cloud.visionai.v1.ObjectDetectionPredictionResult.Entity entity = 4;

Returns
Type Description
boolean

Whether the entity field is set.

hasNormalizedBoundingBox()

public abstract boolean hasNormalizedBoundingBox()

Bounding Box in the normalized coordinates.

.google.cloud.visionai.v1.ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox normalized_bounding_box = 2;

Returns
Type Description
boolean

Whether the normalizedBoundingBox field is set.