google_api_vision v0.22.1 GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p1beta1DominantColorsAnnotation View Source

Set of dominant colors and their corresponding scores.

Attributes

  • colors (type: list(GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p1beta1ColorInfo.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.GoogleCloudVisionV1p1beta1DominantColorsAnnotation{
    colors: [GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p1beta1ColorInfo.t()]
  }

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.