Class ColorInfo (3.1.3)

Stay organized with collections Save and categorize content based on your preferences.
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.

Attributes

NameDescription
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].

Inheritance

builtins.object > proto.message.Message > ColorInfo