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