View Source GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p4beta1ColorInfo (google_api_vision v0.26.1)
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].
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p4beta1ColorInfo{ color: GoogleApi.Vision.V1.Model.Color.t() | nil, pixelFraction: number() | nil, score: number() | nil }