GoogleApi.Vision.V1.Model.DominantColorsAnnotation (google_api_vision v0.23.0) View Source

Set of dominant colors and their corresponding scores.

Attributes

  • colors (type: list(GoogleApi.Vision.V1.Model.ColorInfo.t), default: nil) - RGB color values with their score and pixel fraction.

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.DominantColorsAnnotation{
  colors: [GoogleApi.Vision.V1.Model.ColorInfo.t()]
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.