google_api_vision v0.21.0 GoogleApi.Vision.V1.Model.CropHint View Source

Single crop hint that is used to generate a new crop when serving an image.

Attributes

  • boundingPoly (type: GoogleApi.Vision.V1.Model.BoundingPoly.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

Link to this type

t()

View Source
t() :: %GoogleApi.Vision.V1.Model.CropHint{
  boundingPoly: GoogleApi.Vision.V1.Model.BoundingPoly.t(),
  confidence: number(),
  importanceFraction: number()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.