Class | Description |
---|---|
ImageAnnotatorClient |
Service Description: Service that performs Google Cloud Vision API detection tasks over client
images, such as face, landmark, logo, label, and text detection.
|
ImageAnnotatorSettings |
Settings class to configure an instance of
ImageAnnotatorClient . |
ImageAnnotatorSettings.Builder |
Builder for ImageAnnotatorSettings.
|
The interfaces provided are listed below, along with usage samples.
==================== ImageAnnotatorClient ====================
Service Description: 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.
Sample for ImageAnnotatorClient:
try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
List<AnnotateImageRequest> requests = new ArrayList<>();
BatchAnnotateImagesResponse response = imageAnnotatorClient.batchAnnotateImages(requests);
}
Copyright © 2019 Google LLC. All rights reserved.