class Images extends Resource (View source)

The "images" collection of methods.

Typical usage is:

 $visionService = new Google\Service\Vision(...);
 $images = $visionService->images;

Methods

annotate(BatchAnnotateImagesRequest $postBody, array $optParams = [])

Run image detection and annotation for a batch of images. (images.annotate)

asyncBatchAnnotate(AsyncBatchAnnotateImagesRequest $postBody, array $optParams = [])

Run asynchronous image detection and annotation for a list of images.

Details

BatchAnnotateImagesResponse annotate(BatchAnnotateImagesRequest $postBody, array $optParams = [])

Run image detection and annotation for a batch of images. (images.annotate)

Parameters

BatchAnnotateImagesRequest $postBody
array $optParams

Optional parameters.

Return Value

BatchAnnotateImagesResponse

Exceptions

Exception

Operation asyncBatchAnnotate(AsyncBatchAnnotateImagesRequest $postBody, array $optParams = [])

Run asynchronous image detection and annotation for a list of images.

Progress and results can be retrieved through the google.longrunning.Operations interface. Operation.metadata contains OperationMetadata (metadata). Operation.response contains AsyncBatchAnnotateImagesResponse (results). This service will write image annotation outputs to json files in customer GCS bucket, each json file containing BatchAnnotateImagesResponse proto. (images.asyncBatchAnnotate)

Parameters

AsyncBatchAnnotateImagesRequest $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception