google_api_vision v0.21.0 GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1ColorInfo View Source
Color information consists of RGB channels, score, and the fraction of the image that the color occupies in the image.
Attributes
color
(type:GoogleApi.Vision.V1.Model.Color.t
, default:nil
) - RGB components of the color.pixelFraction
(type:number()
, default:nil
) - The fraction of pixels the color occupies in the image. Value in range [0, 1].score
(type:number()
, default:nil
) - Image-specific score for this color. Value in range [0, 1].
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 Sourcet() :: %GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1ColorInfo{ color: GoogleApi.Vision.V1.Model.Color.t(), pixelFraction: number(), score: number() }
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.