public interface CropHintOrBuilder extends MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
BoundingPoly |
getBoundingPoly()
The bounding polygon for the crop region.
|
BoundingPolyOrBuilder |
getBoundingPolyOrBuilder()
The bounding polygon for the crop region.
|
float |
getConfidence()
Confidence of this being a salient region.
|
float |
getImportanceFraction()
Fraction of importance of this salient region with respect to the original
image.
|
boolean |
hasBoundingPoly()
The bounding polygon for the crop region.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofisInitializedboolean 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.v1.BoundingPoly bounding_poly = 1;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.v1.BoundingPoly bounding_poly = 1;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.v1.BoundingPoly bounding_poly = 1;float getConfidence()
Confidence of this being a salient region. Range [0, 1].
float confidence = 2;float getImportanceFraction()
Fraction of importance of this salient region with respect to the original image.
float importance_fraction = 3;