Interface CropHintOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method 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.
      • 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 Detail

      • hasBoundingPoly

        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.v1p3beta1.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, as returned in `ImageParams`.
         
        .google.cloud.vision.v1p3beta1.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, as returned in `ImageParams`.
         
        .google.cloud.vision.v1p3beta1.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.