Class ColorInfo (3.0.0)

ColorInfo(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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


color google.type.color_pb2.Color
RGB components of the color.
score float
Image-specific score for this color. Value in range [0, 1].
pixel_fraction float
The fraction of pixels the color occupies in the image. Value in range [0, 1].


builtins.object > proto.message.Message > ColorInfo