google_api_vision v0.4.0 GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p2beta1CropHint View Source
Single crop hint that is used to generate a new crop when serving an image.
Attributes
- boundingPoly (GoogleCloudVisionV1p2beta1BoundingPoly): The bounding polygon for the crop region. The coordinates of the bounding box are in the original image's scale. Defaults to:
null
. - confidence (float()): Confidence of this being a salient region. Range [0, 1]. Defaults to:
null
. - importanceFraction (float()): Fraction of importance of this salient region with respect to the original image. Defaults to:
null
.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p2beta1CropHint{
boundingPoly:
GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p2beta1BoundingPoly.t(),
confidence: any(),
importanceFraction: any()
}
t() :: %GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p2beta1CropHint{ boundingPoly: GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p2beta1BoundingPoly.t(), confidence: any(), importanceFraction: any() }
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.