class Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p3beta1ImageProperties

Stores image properties, such as dominant colors.

Attributes

dominant_colors[RW]

Set of dominant colors and their corresponding scores. Corresponds to the JSON property `dominantColors` @return [Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p3beta1DominantColorsAnnotation]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/vision_v1p2beta1/classes.rb, line 5651
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/vision_v1p2beta1/classes.rb, line 5656
def update!(**args)
  @dominant_colors = args[:dominant_colors] if args.key?(:dominant_colors)
end