View Source GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p4beta1CropHint (google_api_vision v0.25.0)
Single crop hint that is used to generate a new crop when serving an image.
Attributes
-
boundingPoly
(type:GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p4beta1BoundingPoly.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.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p4beta1CropHint{ boundingPoly: GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p4beta1BoundingPoly.t() | nil, confidence: number() | nil, importanceFraction: number() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.