Cloud Vision V1 API - Class Google::Cloud::Vision::V1::DominantColorsAnnotation (v0.9.0)

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

#colors=

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