Cloud Vision V1 Client - Class CropHintsAnnotation (1.7.6)

Reference documentation and code samples for the Cloud Vision V1 Client class CropHintsAnnotation.

Set of crop hints that are used to generate new crops when serving images.

Generated from protobuf message google.cloud.vision.v1.CropHintsAnnotation

Namespace

Google \ Cloud \ Vision \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ crop_hints array<Google\Cloud\Vision\V1\CropHint>

Crop hint results.

getCropHints

Crop hint results.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setCropHints

Crop hint results.

Parameter
NameDescription
var array<Google\Cloud\Vision\V1\CropHint>
Returns
TypeDescription
$this