Cloud Vision V1p4beta1 API - Class Google::Cloud::Vision::V1p4beta1::DominantColorsAnnotation (v0.5.1)

Reference documentation and code samples for the Cloud Vision V1p4beta1 API class Google::Cloud::Vision::V1p4beta1::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::V1p4beta1::ColorInfo>
Returns

#colors=

def colors=(value) -> ::Array<::Google::Cloud::Vision::V1p4beta1::ColorInfo>
Parameter
Returns