class Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1ImageProperties
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::VisionV1::GoogleCloudVisionV1p2beta1DominantColorsAnnotation]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/vision_v1/classes.rb, line 3679 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_v1/classes.rb, line 3684 def update!(**args) @dominant_colors = args[:dominant_colors] if args.key?(:dominant_colors) end