Show / Hide Table of Contents

Class ColorInfo

Color information consists of RGB channels, score, and the fraction of the image that the color occupies in the image.

Inheritance
object
ColorInfo
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Vision.v1.Data
Assembly: Google.Apis.Vision.v1.dll
Syntax
public class ColorInfo : 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
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
float?

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
float?

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX