google_api_vision v0.2.0 GoogleApi.Vision.V1.Model.DominantColorsAnnotation View Source

Set of dominant colors and their corresponding scores.

Attributes

  • colors ([ColorInfo]): RGB color values with their score and pixel fraction. 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() :: %GoogleApi.Vision.V1.Model.DominantColorsAnnotation{
  colors: [GoogleApi.Vision.V1.Model.ColorInfo.t()]
}

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.