Interface CropHintOrBuilder (3.35.0)

public interface CropHintOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBoundingPoly()

public abstract BoundingPoly getBoundingPoly()

The bounding polygon for the crop region. The coordinates of the bounding box are in the original image's scale.

.google.cloud.vision.v1p4beta1.BoundingPoly bounding_poly = 1;

Returns
TypeDescription
BoundingPoly

The boundingPoly.

getBoundingPolyOrBuilder()

public abstract BoundingPolyOrBuilder getBoundingPolyOrBuilder()

The bounding polygon for the crop region. The coordinates of the bounding box are in the original image's scale.

.google.cloud.vision.v1p4beta1.BoundingPoly bounding_poly = 1;

Returns
TypeDescription
BoundingPolyOrBuilder

getConfidence()

public abstract float getConfidence()

Confidence of this being a salient region. Range [0, 1].

float confidence = 2;

Returns
TypeDescription
float

The confidence.

getImportanceFraction()

public abstract float getImportanceFraction()

Fraction of importance of this salient region with respect to the original image.

float importance_fraction = 3;

Returns
TypeDescription
float

The importanceFraction.

hasBoundingPoly()

public abstract boolean hasBoundingPoly()

The bounding polygon for the crop region. The coordinates of the bounding box are in the original image's scale.

.google.cloud.vision.v1p4beta1.BoundingPoly bounding_poly = 1;

Returns
TypeDescription
boolean

Whether the boundingPoly field is set.