- 3.51.0 (latest)
- 3.50.0
- 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
Package com.google.cloud.vision.v1p1beta1 (3.32.0)
GitHub Repository | RPC Documentation | REST Documentation |
This package is not the latest GA version!
For this library, we recommend using the package associated with API version v1 for new applications.
Prerelease Implications
This package is a prerelease version! Use with caution.
Prerelease versions are considered unstable as they may be shut down. You can read more about Cloud API versioning strategy here.
Each Cloud Java client library may contain multiple packages. Each package containing a version number in its name corresponds to a published version of the service.
We recommend using the latest stable version for new production applications, which can be identified by the largest numeric version that does not contain a suffix.
For example, if a client library has two packages: v1
and v2alpha
, then the latest stable version is v1
.
If you use an unstable release, breaking changes may be introduced when upgrading.
Client Classes
Client classes are the main entry point to using a package. They contain several variations of Java methods for each of the API's methods.
Client | Description |
---|---|
com.google.cloud.vision.v1p1beta1.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. |
Settings Classes
Settings classes can be used to configure credentials, endpoints, and retry settings for a Client.
Settings | Description |
---|---|
com.google.cloud.vision.v1p1beta1.ImageAnnotatorSettings |
Settings class to configure an instance of ImageAnnotatorClient.
The default instance has everything set to sensible defaults: |
Classes
Class | Description |
---|---|
com.google.cloud.vision.v1p1beta1.AnnotateImageRequest | Request for performing Google Cloud Vision API tasks over a user-provided image, with user-requested features. |
com.google.cloud.vision.v1p1beta1.AnnotateImageRequest.Builder | Request for performing Google Cloud Vision API tasks over a user-provided image, with user-requested features. |
com.google.cloud.vision.v1p1beta1.AnnotateImageResponse | Response to an image annotation request. |
com.google.cloud.vision.v1p1beta1.AnnotateImageResponse.Builder | Response to an image annotation request. |
com.google.cloud.vision.v1p1beta1.BatchAnnotateImagesRequest | Multiple image annotation requests are batched into a single service call. |
com.google.cloud.vision.v1p1beta1.BatchAnnotateImagesRequest.Builder | Multiple image annotation requests are batched into a single service call. |
com.google.cloud.vision.v1p1beta1.BatchAnnotateImagesResponse | Response to a batch image annotation request. |
com.google.cloud.vision.v1p1beta1.BatchAnnotateImagesResponse.Builder | Response to a batch image annotation request. |
com.google.cloud.vision.v1p1beta1.Block | Logical element on the page. |
com.google.cloud.vision.v1p1beta1.Block.Builder | Logical element on the page. |
com.google.cloud.vision.v1p1beta1.BoundingPoly | A bounding polygon for the detected image annotation. |
com.google.cloud.vision.v1p1beta1.BoundingPoly.Builder | A bounding polygon for the detected image annotation. |
com.google.cloud.vision.v1p1beta1.ColorInfo | Color information consists of RGB channels, score, and the fraction of the image that the color occupies in the image. |
com.google.cloud.vision.v1p1beta1.ColorInfo.Builder | Color information consists of RGB channels, score, and the fraction of the image that the color occupies in the image. |
com.google.cloud.vision.v1p1beta1.CropHint | Single crop hint that is used to generate a new crop when serving an image. |
com.google.cloud.vision.v1p1beta1.CropHint.Builder | Single crop hint that is used to generate a new crop when serving an image. |
com.google.cloud.vision.v1p1beta1.CropHintsAnnotation | Set of crop hints that are used to generate new crops when serving images. |
com.google.cloud.vision.v1p1beta1.CropHintsAnnotation.Builder | Set of crop hints that are used to generate new crops when serving images. |
com.google.cloud.vision.v1p1beta1.CropHintsParams | Parameters for crop hints annotation request. |
com.google.cloud.vision.v1p1beta1.CropHintsParams.Builder | Parameters for crop hints annotation request. |
com.google.cloud.vision.v1p1beta1.DominantColorsAnnotation | Set of dominant colors and their corresponding scores. |
com.google.cloud.vision.v1p1beta1.DominantColorsAnnotation.Builder | Set of dominant colors and their corresponding scores. |
com.google.cloud.vision.v1p1beta1.EntityAnnotation | Set of detected entity features. |
com.google.cloud.vision.v1p1beta1.EntityAnnotation.Builder | Set of detected entity features. |
com.google.cloud.vision.v1p1beta1.FaceAnnotation | A face annotation object contains the results of face detection. |
com.google.cloud.vision.v1p1beta1.FaceAnnotation.Builder | A face annotation object contains the results of face detection. |
com.google.cloud.vision.v1p1beta1.FaceAnnotation.Landmark | A face-specific landmark (for example, a face feature). |
com.google.cloud.vision.v1p1beta1.FaceAnnotation.Landmark.Builder | A face-specific landmark (for example, a face feature). |
com.google.cloud.vision.v1p1beta1.Feature | Users describe the type of Google Cloud Vision API tasks to perform over images by using Features. Each Feature indicates a type of image detection task to perform. Features encode the Cloud Vision API |
com.google.cloud.vision.v1p1beta1.Feature.Builder | Users describe the type of Google Cloud Vision API tasks to perform over images by using Features. Each Feature indicates a type of image detection task to perform. Features encode the Cloud Vision API |
com.google.cloud.vision.v1p1beta1.GeometryProto | |
com.google.cloud.vision.v1p1beta1.Image | Client image to perform Google Cloud Vision API tasks over. |
com.google.cloud.vision.v1p1beta1.Image.Builder | Client image to perform Google Cloud Vision API tasks over. |
com.google.cloud.vision.v1p1beta1.ImageAnnotatorGrpc | 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. |
com.google.cloud.vision.v1p1beta1.ImageAnnotatorGrpc.ImageAnnotatorImplBase | Base class for the server implementation of the service ImageAnnotator. Service that performs Google Cloud Vision API detection tasks over client |
com.google.cloud.vision.v1p1beta1.ImageAnnotatorProto | |
com.google.cloud.vision.v1p1beta1.ImageAnnotatorSettings.Builder | Builder for ImageAnnotatorSettings. |
com.google.cloud.vision.v1p1beta1.ImageContext | Image context and/or feature-specific parameters. |
com.google.cloud.vision.v1p1beta1.ImageContext.Builder | Image context and/or feature-specific parameters. |
com.google.cloud.vision.v1p1beta1.ImageProperties | Stores image properties, such as dominant colors. |
com.google.cloud.vision.v1p1beta1.ImageProperties.Builder | Stores image properties, such as dominant colors. |
com.google.cloud.vision.v1p1beta1.ImageSource | External image source (Google Cloud Storage image location). |
com.google.cloud.vision.v1p1beta1.ImageSource.Builder | External image source (Google Cloud Storage image location). |
com.google.cloud.vision.v1p1beta1.LatLongRect |
Rectangle determined by min and max LatLng pairs.
|
com.google.cloud.vision.v1p1beta1.LatLongRect.Builder |
Rectangle determined by min and max LatLng pairs.
|
com.google.cloud.vision.v1p1beta1.LocationInfo | Detected entity location information. |
com.google.cloud.vision.v1p1beta1.LocationInfo.Builder | Detected entity location information. |
com.google.cloud.vision.v1p1beta1.Page | Detected page from OCR. |
com.google.cloud.vision.v1p1beta1.Page.Builder | Detected page from OCR. |
com.google.cloud.vision.v1p1beta1.Paragraph | Structural unit of text representing a number of words in certain order. |
com.google.cloud.vision.v1p1beta1.Paragraph.Builder | Structural unit of text representing a number of words in certain order. |
com.google.cloud.vision.v1p1beta1.Position | A 3D position in the image, used primarily for Face detection landmarks. A valid Position must have both x and y coordinates. The position coordinates are in the same scale as the original image. |
com.google.cloud.vision.v1p1beta1.Position.Builder | A 3D position in the image, used primarily for Face detection landmarks. A valid Position must have both x and y coordinates. The position coordinates are in the same scale as the original image. |
com.google.cloud.vision.v1p1beta1.Property |
A Property consists of a user-supplied name/value pair.
|
com.google.cloud.vision.v1p1beta1.Property.Builder |
A Property consists of a user-supplied name/value pair.
|
com.google.cloud.vision.v1p1beta1.SafeSearchAnnotation | Set of features pertaining to the image, computed by computer vision methods over safe-search verticals (for example, adult, spoof, medical, violence). |
com.google.cloud.vision.v1p1beta1.SafeSearchAnnotation.Builder | Set of features pertaining to the image, computed by computer vision methods over safe-search verticals (for example, adult, spoof, medical, violence). |
com.google.cloud.vision.v1p1beta1.Symbol | A single symbol representation. |
com.google.cloud.vision.v1p1beta1.Symbol.Builder | A single symbol representation. |
com.google.cloud.vision.v1p1beta1.TextAnnotation | TextAnnotation contains a structured representation of OCR extracted text. The hierarchy of an OCR extracted text structure is like this: TextAnnotation -> Page -> Block -> Paragraph -> Word -> Symbol |
com.google.cloud.vision.v1p1beta1.TextAnnotation.Builder | TextAnnotation contains a structured representation of OCR extracted text. The hierarchy of an OCR extracted text structure is like this: TextAnnotation -> Page -> Block -> Paragraph -> Word -> Symbol |
com.google.cloud.vision.v1p1beta1.TextAnnotation.DetectedBreak | Detected start or end of a structural component. |
com.google.cloud.vision.v1p1beta1.TextAnnotation.DetectedBreak.Builder | Detected start or end of a structural component. |
com.google.cloud.vision.v1p1beta1.TextAnnotation.DetectedLanguage | Detected language for a structural component. |
com.google.cloud.vision.v1p1beta1.TextAnnotation.DetectedLanguage.Builder | Detected language for a structural component. |
com.google.cloud.vision.v1p1beta1.TextAnnotation.TextProperty | Additional information detected on the structural component. |
com.google.cloud.vision.v1p1beta1.TextAnnotation.TextProperty.Builder | Additional information detected on the structural component. |
com.google.cloud.vision.v1p1beta1.TextAnnotationProto | |
com.google.cloud.vision.v1p1beta1.TextDetectionParams | Parameters for text detections. This is used to control TEXT_DETECTION and DOCUMENT_TEXT_DETECTION features. |
com.google.cloud.vision.v1p1beta1.TextDetectionParams.Builder | Parameters for text detections. This is used to control TEXT_DETECTION and DOCUMENT_TEXT_DETECTION features. |
com.google.cloud.vision.v1p1beta1.Vertex | A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image. |
com.google.cloud.vision.v1p1beta1.Vertex.Builder | A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image. |
com.google.cloud.vision.v1p1beta1.WebDetection | Relevant information for the image from the Internet. |
com.google.cloud.vision.v1p1beta1.WebDetection.Builder | Relevant information for the image from the Internet. |
com.google.cloud.vision.v1p1beta1.WebDetection.WebEntity | Entity deduced from similar images on the Internet. |
com.google.cloud.vision.v1p1beta1.WebDetection.WebEntity.Builder | Entity deduced from similar images on the Internet. |
com.google.cloud.vision.v1p1beta1.WebDetection.WebImage | Metadata for online images. |
com.google.cloud.vision.v1p1beta1.WebDetection.WebImage.Builder | Metadata for online images. |
com.google.cloud.vision.v1p1beta1.WebDetection.WebLabel | Label to provide extra metadata for the web detection. |
com.google.cloud.vision.v1p1beta1.WebDetection.WebLabel.Builder | Label to provide extra metadata for the web detection. |
com.google.cloud.vision.v1p1beta1.WebDetection.WebPage | Metadata for web pages. |
com.google.cloud.vision.v1p1beta1.WebDetection.WebPage.Builder | Metadata for web pages. |
com.google.cloud.vision.v1p1beta1.WebDetectionParams | Parameters for web detection request. |
com.google.cloud.vision.v1p1beta1.WebDetectionParams.Builder | Parameters for web detection request. |
com.google.cloud.vision.v1p1beta1.WebDetectionProto | |
com.google.cloud.vision.v1p1beta1.Word | A word representation. |
com.google.cloud.vision.v1p1beta1.Word.Builder | A word representation. |
Interfaces
Enums
Enum | Description |
---|---|
com.google.cloud.vision.v1p1beta1.Block.BlockType | Type of a block (text, image etc) as identified by OCR. |
com.google.cloud.vision.v1p1beta1.FaceAnnotation.Landmark.Type |
Face landmark (feature) type.
Left and right are defined from the vantage of the viewer of the image
without considering mirror projections typical of photos. So, LEFT_EYE , |
com.google.cloud.vision.v1p1beta1.Feature.Type | Type of image feature. |
com.google.cloud.vision.v1p1beta1.Likelihood | A bucketized representation of likelihood, which is intended to give clients highly stable results across model upgrades. |
com.google.cloud.vision.v1p1beta1.TextAnnotation.DetectedBreak.BreakType | Enum to denote the type of break found. New line, space etc. |