Interface CropHintOrBuilder (3.49.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, as returned in ImageParams.

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

Returns
Type Description
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, as returned in ImageParams.

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

Returns
Type Description
BoundingPolyOrBuilder

getConfidence()

public abstract float getConfidence()

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

float confidence = 2;

Returns
Type Description
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
Type Description
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, as returned in ImageParams.

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

Returns
Type Description
boolean

Whether the boundingPoly field is set.