- 3.50.0 (latest)
- 3.49.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.3
- 2.1.4
- 2.0.29
public static interface ImageAnnotatorGrpc.AsyncService
Service that performs Google Cloud Vision API detection tasks over client images, such as face, landmark, logo, label, and text detection. The ImageAnnotator service returns detected entities from the images.
Methods
asyncBatchAnnotateFiles(AsyncBatchAnnotateFilesRequest request, StreamObserver<Operation> responseObserver)
public default void asyncBatchAnnotateFiles(AsyncBatchAnnotateFilesRequest request, StreamObserver<Operation> responseObserver)
Run asynchronous image detection and annotation for a list of generic
files, such as PDF files, which may contain multiple pages and multiple
images per page. Progress and results can be retrieved through the
google.longrunning.Operations
interface.
Operation.metadata
contains OperationMetadata
(metadata).
Operation.response
contains AsyncBatchAnnotateFilesResponse
(results).
Parameters | |
---|---|
Name | Description |
request |
AsyncBatchAnnotateFilesRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
asyncBatchAnnotateImages(AsyncBatchAnnotateImagesRequest request, StreamObserver<Operation> responseObserver)
public default void asyncBatchAnnotateImages(AsyncBatchAnnotateImagesRequest request, StreamObserver<Operation> responseObserver)
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.
Parameters | |
---|---|
Name | Description |
request |
AsyncBatchAnnotateImagesRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
batchAnnotateFiles(BatchAnnotateFilesRequest request, StreamObserver<BatchAnnotateFilesResponse> responseObserver)
public default void batchAnnotateFiles(BatchAnnotateFilesRequest request, StreamObserver<BatchAnnotateFilesResponse> responseObserver)
Service that performs image detection and annotation for a batch of files. Now only "application/pdf", "image/tiff" and "image/gif" are supported. This service will extract at most 5 (customers can specify which 5 in AnnotateFileRequest.pages) frames (gif) or pages (pdf or tiff) from each file provided and perform detection and annotation for each image extracted.
Parameters | |
---|---|
Name | Description |
request |
BatchAnnotateFilesRequest |
responseObserver |
io.grpc.stub.StreamObserver<BatchAnnotateFilesResponse> |
batchAnnotateImages(BatchAnnotateImagesRequest request, StreamObserver<BatchAnnotateImagesResponse> responseObserver)
public default void batchAnnotateImages(BatchAnnotateImagesRequest request, StreamObserver<BatchAnnotateImagesResponse> responseObserver)
Run image detection and annotation for a batch of images.
Parameters | |
---|---|
Name | Description |
request |
BatchAnnotateImagesRequest |
responseObserver |
io.grpc.stub.StreamObserver<BatchAnnotateImagesResponse> |