Class GoogleCloudVisionV1p2beta1ColorInfo
Color information consists of RGB channels, score, and the fraction of the image that the color occupies in the image.
Inheritance
System.Object
GoogleCloudVisionV1p2beta1ColorInfo
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Vision.v1.Data
Assembly: Google.Apis.Vision.v1.dll
Syntax
public class GoogleCloudVisionV1p2beta1ColorInfo : IDirectResponseSchema
Properties
Color
RGB components of the color.
Declaration
[JsonProperty("color")]
public virtual Color Color { get; set; }
Property Value
| Type | Description |
|---|---|
| Color |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
PixelFraction
The fraction of pixels the color occupies in the image. Value in range [0, 1].
Declaration
[JsonProperty("pixelFraction")]
public virtual float? PixelFraction { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Single> |
Score
Image-specific score for this color. Value in range [0, 1].
Declaration
[JsonProperty("score")]
public virtual float? Score { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Single> |