Interface CropHintOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
CropHint, CropHint.Builder

@Generated public interface CropHintOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The bounding polygon for the crop region.
    The bounding polygon for the crop region.
    float
    Confidence of this being a salient region.
    float
    Fraction of importance of this salient region with respect to the original image.
    boolean
    The bounding polygon for the crop region.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasBoundingPoly

      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.v1.BoundingPoly bounding_poly = 1;
      Returns:
      Whether the boundingPoly field is set.
    • getBoundingPoly

      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.v1.BoundingPoly bounding_poly = 1;
      Returns:
      The boundingPoly.
    • getBoundingPolyOrBuilder

      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.v1.BoundingPoly bounding_poly = 1;
    • getConfidence

      float getConfidence()
       Confidence of this being a salient region.  Range [0, 1].
       
      float confidence = 2;
      Returns:
      The confidence.
    • getImportanceFraction

      float getImportanceFraction()
       Fraction of importance of this salient region with respect to the original
       image.
       
      float importance_fraction = 3;
      Returns:
      The importanceFraction.