Class ColorInfo

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

Attributes
NameDescription
google.type.color_pb2.Colorcolor
RGB components of the color.
floatscore
Image-specific score for this color. Value in range [0, 1].
floatpixel_fraction
The fraction of pixels the color occupies in the image. Value in range [0, 1].

Inheritance

builtins.object > proto.message.Message > ColorInfo