Interface OccupancyCountingPredictionResult.IdentifiedBoxOrBuilder (0.8.0)

public static interface OccupancyCountingPredictionResult.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.

getEntity()

public abstract OccupancyCountingPredictionResult.Entity getEntity()

Entity of this box.

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

Returns
Type Description
OccupancyCountingPredictionResult.Entity

The entity.

getEntityOrBuilder()

public abstract OccupancyCountingPredictionResult.EntityOrBuilder getEntityOrBuilder()

Entity of this box.

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

Returns
Type Description
OccupancyCountingPredictionResult.EntityOrBuilder

getNormalizedBoundingBox()

public abstract OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox getNormalizedBoundingBox()

Bounding Box in the normalized coordinates.

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

Returns
Type Description
OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox

The normalizedBoundingBox.

getNormalizedBoundingBoxOrBuilder()

public abstract OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBoxOrBuilder getNormalizedBoundingBoxOrBuilder()

Bounding Box in the normalized coordinates.

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

Returns
Type Description
OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBoxOrBuilder

getScore()

public abstract float getScore()

Confidence score associated with this box.

float score = 3;

Returns
Type Description
float

The score.

getTrackId()

public abstract long getTrackId()

An unique id to identify a track. It should be consistent across frames. It only exists if tracking is enabled.

int64 track_id = 5;

Returns
Type Description
long

The trackId.

hasEntity()

public abstract boolean hasEntity()

Entity of this box.

.google.cloud.visionai.v1.OccupancyCountingPredictionResult.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.OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox normalized_bounding_box = 2;

Returns
Type Description
boolean

Whether the normalizedBoundingBox field is set.