Package com.google.cloud.vision.v1p1beta1 (3.47.0)

GitHub Repository RPC Documentation REST Documentation

This package is not the recommended entry point to using this client library!

For this library, we recommend using com.google.cloud.vision.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 and/or subject to breaking changes when upgrading. Use them only for testing or if you specifically need their experimental features.

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

Interface Description
com.google.cloud.vision.v1p1beta1.AnnotateImageRequestOrBuilder
com.google.cloud.vision.v1p1beta1.AnnotateImageResponseOrBuilder
com.google.cloud.vision.v1p1beta1.BatchAnnotateImagesRequestOrBuilder
com.google.cloud.vision.v1p1beta1.BatchAnnotateImagesResponseOrBuilder
com.google.cloud.vision.v1p1beta1.BlockOrBuilder
com.google.cloud.vision.v1p1beta1.BoundingPolyOrBuilder
com.google.cloud.vision.v1p1beta1.ColorInfoOrBuilder
com.google.cloud.vision.v1p1beta1.CropHintOrBuilder
com.google.cloud.vision.v1p1beta1.CropHintsAnnotationOrBuilder
com.google.cloud.vision.v1p1beta1.CropHintsParamsOrBuilder
com.google.cloud.vision.v1p1beta1.DominantColorsAnnotationOrBuilder
com.google.cloud.vision.v1p1beta1.EntityAnnotationOrBuilder
com.google.cloud.vision.v1p1beta1.FaceAnnotation.LandmarkOrBuilder
com.google.cloud.vision.v1p1beta1.FaceAnnotationOrBuilder
com.google.cloud.vision.v1p1beta1.FeatureOrBuilder
com.google.cloud.vision.v1p1beta1.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.
com.google.cloud.vision.v1p1beta1.ImageContextOrBuilder
com.google.cloud.vision.v1p1beta1.ImageOrBuilder
com.google.cloud.vision.v1p1beta1.ImagePropertiesOrBuilder
com.google.cloud.vision.v1p1beta1.ImageSourceOrBuilder
com.google.cloud.vision.v1p1beta1.LatLongRectOrBuilder
com.google.cloud.vision.v1p1beta1.LocationInfoOrBuilder
com.google.cloud.vision.v1p1beta1.PageOrBuilder
com.google.cloud.vision.v1p1beta1.ParagraphOrBuilder
com.google.cloud.vision.v1p1beta1.PositionOrBuilder
com.google.cloud.vision.v1p1beta1.PropertyOrBuilder
com.google.cloud.vision.v1p1beta1.SafeSearchAnnotationOrBuilder
com.google.cloud.vision.v1p1beta1.SymbolOrBuilder
com.google.cloud.vision.v1p1beta1.TextAnnotation.DetectedBreakOrBuilder
com.google.cloud.vision.v1p1beta1.TextAnnotation.DetectedLanguageOrBuilder
com.google.cloud.vision.v1p1beta1.TextAnnotation.TextPropertyOrBuilder
com.google.cloud.vision.v1p1beta1.TextAnnotationOrBuilder
com.google.cloud.vision.v1p1beta1.TextDetectionParamsOrBuilder
com.google.cloud.vision.v1p1beta1.VertexOrBuilder
com.google.cloud.vision.v1p1beta1.WebDetection.WebEntityOrBuilder
com.google.cloud.vision.v1p1beta1.WebDetection.WebImageOrBuilder
com.google.cloud.vision.v1p1beta1.WebDetection.WebLabelOrBuilder
com.google.cloud.vision.v1p1beta1.WebDetection.WebPageOrBuilder
com.google.cloud.vision.v1p1beta1.WebDetectionOrBuilder
com.google.cloud.vision.v1p1beta1.WebDetectionParamsOrBuilder
com.google.cloud.vision.v1p1beta1.WordOrBuilder

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.