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

RepositoryRPC DocumentationREST 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.

ClientDescription
com.google.cloud.vision.v1p1beta1.ImageAnnotatorClientService 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.

SettingsDescription
com.google.cloud.vision.v1p1beta1.ImageAnnotatorSettingsSettings class to configure an instance of ImageAnnotatorClient.

The default instance has everything set to sensible defaults:

Classes

ClassDescription
com.google.cloud.vision.v1p1beta1.AnnotateImageRequestRequest for performing Google Cloud Vision API tasks over a user-provided image, with user-requested features.
com.google.cloud.vision.v1p1beta1.AnnotateImageRequest.BuilderRequest for performing Google Cloud Vision API tasks over a user-provided image, with user-requested features.
com.google.cloud.vision.v1p1beta1.AnnotateImageResponseResponse to an image annotation request.
com.google.cloud.vision.v1p1beta1.AnnotateImageResponse.BuilderResponse to an image annotation request.
com.google.cloud.vision.v1p1beta1.BatchAnnotateImagesRequestMultiple image annotation requests are batched into a single service call.
com.google.cloud.vision.v1p1beta1.BatchAnnotateImagesRequest.BuilderMultiple image annotation requests are batched into a single service call.
com.google.cloud.vision.v1p1beta1.BatchAnnotateImagesResponseResponse to a batch image annotation request.
com.google.cloud.vision.v1p1beta1.BatchAnnotateImagesResponse.BuilderResponse to a batch image annotation request.
com.google.cloud.vision.v1p1beta1.BlockLogical element on the page.
com.google.cloud.vision.v1p1beta1.Block.BuilderLogical element on the page.
com.google.cloud.vision.v1p1beta1.BoundingPolyA bounding polygon for the detected image annotation.
com.google.cloud.vision.v1p1beta1.BoundingPoly.BuilderA bounding polygon for the detected image annotation.
com.google.cloud.vision.v1p1beta1.ColorInfoColor 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.BuilderColor information consists of RGB channels, score, and the fraction of the image that the color occupies in the image.
com.google.cloud.vision.v1p1beta1.CropHintSingle crop hint that is used to generate a new crop when serving an image.
com.google.cloud.vision.v1p1beta1.CropHint.BuilderSingle crop hint that is used to generate a new crop when serving an image.
com.google.cloud.vision.v1p1beta1.CropHintsAnnotationSet of crop hints that are used to generate new crops when serving images.
com.google.cloud.vision.v1p1beta1.CropHintsAnnotation.BuilderSet of crop hints that are used to generate new crops when serving images.
com.google.cloud.vision.v1p1beta1.CropHintsParamsParameters for crop hints annotation request.
com.google.cloud.vision.v1p1beta1.CropHintsParams.BuilderParameters for crop hints annotation request.
com.google.cloud.vision.v1p1beta1.DominantColorsAnnotationSet of dominant colors and their corresponding scores.
com.google.cloud.vision.v1p1beta1.DominantColorsAnnotation.BuilderSet of dominant colors and their corresponding scores.
com.google.cloud.vision.v1p1beta1.EntityAnnotationSet of detected entity features.
com.google.cloud.vision.v1p1beta1.EntityAnnotation.BuilderSet of detected entity features.
com.google.cloud.vision.v1p1beta1.FaceAnnotationA face annotation object contains the results of face detection.
com.google.cloud.vision.v1p1beta1.FaceAnnotation.BuilderA face annotation object contains the results of face detection.
com.google.cloud.vision.v1p1beta1.FaceAnnotation.LandmarkA face-specific landmark (for example, a face feature).
com.google.cloud.vision.v1p1beta1.FaceAnnotation.Landmark.BuilderA face-specific landmark (for example, a face feature).
com.google.cloud.vision.v1p1beta1.FeatureUsers 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.BuilderUsers 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.ImageClient image to perform Google Cloud Vision API tasks over.
com.google.cloud.vision.v1p1beta1.Image.BuilderClient image to perform Google Cloud Vision API tasks over.
com.google.cloud.vision.v1p1beta1.ImageAnnotatorGrpcService 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.ImageAnnotatorImplBaseBase 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.BuilderBuilder for ImageAnnotatorSettings.
com.google.cloud.vision.v1p1beta1.ImageContextImage context and/or feature-specific parameters.
com.google.cloud.vision.v1p1beta1.ImageContext.BuilderImage context and/or feature-specific parameters.
com.google.cloud.vision.v1p1beta1.ImagePropertiesStores image properties, such as dominant colors.
com.google.cloud.vision.v1p1beta1.ImageProperties.BuilderStores image properties, such as dominant colors.
com.google.cloud.vision.v1p1beta1.ImageSourceExternal image source (Google Cloud Storage image location).
com.google.cloud.vision.v1p1beta1.ImageSource.BuilderExternal image source (Google Cloud Storage image location).
com.google.cloud.vision.v1p1beta1.LatLongRectRectangle determined by min and max LatLng pairs.
com.google.cloud.vision.v1p1beta1.LatLongRect.BuilderRectangle determined by min and max LatLng pairs.
com.google.cloud.vision.v1p1beta1.LocationInfoDetected entity location information.
com.google.cloud.vision.v1p1beta1.LocationInfo.BuilderDetected entity location information.
com.google.cloud.vision.v1p1beta1.PageDetected page from OCR.
com.google.cloud.vision.v1p1beta1.Page.BuilderDetected page from OCR.
com.google.cloud.vision.v1p1beta1.ParagraphStructural unit of text representing a number of words in certain order.
com.google.cloud.vision.v1p1beta1.Paragraph.BuilderStructural unit of text representing a number of words in certain order.
com.google.cloud.vision.v1p1beta1.PositionA 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.BuilderA 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.PropertyA Property consists of a user-supplied name/value pair.
com.google.cloud.vision.v1p1beta1.Property.BuilderA Property consists of a user-supplied name/value pair.
com.google.cloud.vision.v1p1beta1.SafeSearchAnnotationSet 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.BuilderSet 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.SymbolA single symbol representation.
com.google.cloud.vision.v1p1beta1.Symbol.BuilderA single symbol representation.
com.google.cloud.vision.v1p1beta1.TextAnnotationTextAnnotation 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.BuilderTextAnnotation 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.DetectedBreakDetected start or end of a structural component.
com.google.cloud.vision.v1p1beta1.TextAnnotation.DetectedBreak.BuilderDetected start or end of a structural component.
com.google.cloud.vision.v1p1beta1.TextAnnotation.DetectedLanguageDetected language for a structural component.
com.google.cloud.vision.v1p1beta1.TextAnnotation.DetectedLanguage.BuilderDetected language for a structural component.
com.google.cloud.vision.v1p1beta1.TextAnnotation.TextPropertyAdditional information detected on the structural component.
com.google.cloud.vision.v1p1beta1.TextAnnotation.TextProperty.BuilderAdditional information detected on the structural component.
com.google.cloud.vision.v1p1beta1.TextAnnotationProto
com.google.cloud.vision.v1p1beta1.TextDetectionParamsParameters for text detections. This is used to control TEXT_DETECTION and DOCUMENT_TEXT_DETECTION features.
com.google.cloud.vision.v1p1beta1.TextDetectionParams.BuilderParameters for text detections. This is used to control TEXT_DETECTION and DOCUMENT_TEXT_DETECTION features.
com.google.cloud.vision.v1p1beta1.VertexA 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.BuilderA 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.WebDetectionRelevant information for the image from the Internet.
com.google.cloud.vision.v1p1beta1.WebDetection.BuilderRelevant information for the image from the Internet.
com.google.cloud.vision.v1p1beta1.WebDetection.WebEntityEntity deduced from similar images on the Internet.
com.google.cloud.vision.v1p1beta1.WebDetection.WebEntity.BuilderEntity deduced from similar images on the Internet.
com.google.cloud.vision.v1p1beta1.WebDetection.WebImageMetadata for online images.
com.google.cloud.vision.v1p1beta1.WebDetection.WebImage.BuilderMetadata for online images.
com.google.cloud.vision.v1p1beta1.WebDetection.WebLabelLabel to provide extra metadata for the web detection.
com.google.cloud.vision.v1p1beta1.WebDetection.WebLabel.BuilderLabel to provide extra metadata for the web detection.
com.google.cloud.vision.v1p1beta1.WebDetection.WebPageMetadata for web pages.
com.google.cloud.vision.v1p1beta1.WebDetection.WebPage.BuilderMetadata for web pages.
com.google.cloud.vision.v1p1beta1.WebDetectionParamsParameters for web detection request.
com.google.cloud.vision.v1p1beta1.WebDetectionParams.BuilderParameters for web detection request.
com.google.cloud.vision.v1p1beta1.WebDetectionProto
com.google.cloud.vision.v1p1beta1.WordA word representation.
com.google.cloud.vision.v1p1beta1.Word.BuilderA word representation.

Interfaces

InterfaceDescription
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.AsyncServiceService 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

EnumDescription
com.google.cloud.vision.v1p1beta1.Block.BlockTypeType of a block (text, image etc) as identified by OCR.
com.google.cloud.vision.v1p1beta1.FaceAnnotation.Landmark.TypeFace 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.TypeType of image feature.
com.google.cloud.vision.v1p1beta1.LikelihoodA bucketized representation of likelihood, which is intended to give clients highly stable results across model upgrades.
com.google.cloud.vision.v1p1beta1.TextAnnotation.DetectedBreak.BreakTypeEnum to denote the type of break found. New line, space etc.