Reference documentation and code samples for the Cloud Vision V1 API class Google::Cloud::Vision::V1::ImageProperties.
Stores image properties, such as dominant colors.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#dominant_colors
def dominant_colors() -> ::Google::Cloud::Vision::V1::DominantColorsAnnotation
Returns
- (::Google::Cloud::Vision::V1::DominantColorsAnnotation) — If present, dominant colors completed successfully.
#dominant_colors=
def dominant_colors=(value) -> ::Google::Cloud::Vision::V1::DominantColorsAnnotation
Parameter
- value (::Google::Cloud::Vision::V1::DominantColorsAnnotation) — If present, dominant colors completed successfully.
Returns
- (::Google::Cloud::Vision::V1::DominantColorsAnnotation) — If present, dominant colors completed successfully.