Cloud Vision V1 Client - Class ImageProperties (1.9.2)

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 \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ dominant_colors Google\Cloud\Vision\V1\DominantColorsAnnotation

If present, dominant colors completed successfully.

getDominantColors

If present, dominant colors completed successfully.

Returns
Type Description
Google\Cloud\Vision\V1\DominantColorsAnnotation|null

hasDominantColors

clearDominantColors

setDominantColors

If present, dominant colors completed successfully.

Parameter
Name Description
var Google\Cloud\Vision\V1\DominantColorsAnnotation
Returns
Type Description
$this