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