Reference documentation and code samples for the Cloud Vision V1p3beta1 API class Google::Cloud::Vision::V1p3beta1::DominantColorsAnnotation.
Set of dominant colors and their corresponding scores.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#colors
def colors() -> ::Array<::Google::Cloud::Vision::V1p3beta1::ColorInfo>
Returns
- (::Array<::Google::Cloud::Vision::V1p3beta1::ColorInfo>) — RGB color values with their score and pixel fraction.
#colors=
def colors=(value) -> ::Array<::Google::Cloud::Vision::V1p3beta1::ColorInfo>
Parameter
- value (::Array<::Google::Cloud::Vision::V1p3beta1::ColorInfo>) — RGB color values with their score and pixel fraction.
Returns
- (::Array<::Google::Cloud::Vision::V1p3beta1::ColorInfo>) — RGB color values with their score and pixel fraction.