Reference documentation and code samples for the Cloud Vision V1 Client class ImageProperties.
Stores image properties, such as dominant colors.
Generated from protobuf message google.cloud.vision.v1.ImageProperties
Namespace
Google \ Cloud \ Vision \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ dominant_colors |
DominantColorsAnnotation
If present, dominant colors completed successfully. |
getDominantColors
If present, dominant colors completed successfully.
Returns | |
---|---|
Type | Description |
DominantColorsAnnotation|null |
hasDominantColors
clearDominantColors
setDominantColors
If present, dominant colors completed successfully.
Parameter | |
---|---|
Name | Description |
var |
DominantColorsAnnotation
|
Returns | |
---|---|
Type | Description |
$this |