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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ crop_hints |
array<CropHint>
Crop hint results. |
getCropHints
Crop hint results.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setCropHints
Crop hint results.
Parameter | |
---|---|
Name | Description |
var |
array<CropHint>
|
Returns | |
---|---|
Type | Description |
$this |