vision/v1 library

Classes

AddProductToProductSetRequest
Request message for the AddProductToProductSet method.
AnnotateFileRequest
A request to annotate one single file, e.g. a PDF, TIFF or GIF file.
AnnotateFileResponse
Response to a single file annotation request.
AnnotateImageRequest
Request for performing Google Cloud Vision API tasks over a user-provided image, with user-requested features, and with context information.
AnnotateImageResponse
Response to an image annotation request.
AsyncAnnotateFileRequest
An offline file annotation request.
AsyncBatchAnnotateFilesRequest
Multiple async file annotation requests are batched into a single service call.
AsyncBatchAnnotateImagesRequest
Request for async image annotation for a list of images.
BatchAnnotateFilesRequest
A list of requests to annotate files using the BatchAnnotateFiles API.
BatchAnnotateFilesResponse
A list of file annotation responses.
BatchAnnotateImagesRequest
Multiple image annotation requests are batched into a single service call.
BatchAnnotateImagesResponse
Response to a batch image annotation request.
Block
Logical element on the page.
BoundingPoly
A bounding polygon for the detected image annotation.
ColorInfo
Color information consists of RGB channels, score, and the fraction of the image that the color occupies in the image.
CropHint
Single crop hint that is used to generate a new crop when serving an image.
CropHintsAnnotation
Set of crop hints that are used to generate new crops when serving images.
CropHintsParams
Parameters for crop hints annotation request.
DetectedBreak
Detected start or end of a structural component.
DetectedLanguage
Detected language for a structural component.
DominantColorsAnnotation
Set of dominant colors and their corresponding scores.
EntityAnnotation
Set of detected entity features.
FaceAnnotation
A face annotation object contains the results of face detection.
Feature
The type of Google Cloud Vision API detection to perform, and the maximum number of results to return for that type.
FilesResource
GcsDestination
The Google Cloud Storage location where the output will be written to.
GcsSource
The Google Cloud Storage location where the input will be read from.
GroupedResult
Information about the products similar to a single product in a query image.
Image
Client image to perform Google Cloud Vision API tasks over.
ImageAnnotationContext
If an image was produced from a file (e.g. a PDF), this message gives information about the source of that image.
ImageContext
Image context and/or feature-specific parameters.
ImageProperties
Stores image properties, such as dominant colors.
ImageSource
External image source (Google Cloud Storage or web URL image location).
ImagesResource
ImportProductSetsGcsSource
The Google Cloud Storage location for a csv file which preserves a list of ImportProductSetRequests in each line.
ImportProductSetsInputConfig
The input content for the ImportProductSets method.
ImportProductSetsRequest
Request message for the ImportProductSets method.
InputConfig
The desired input location and metadata.
KeyValue
A product label represented as a key-value pair.
Landmark
A face-specific landmark (for example, a face feature).
LatLongRect
Rectangle determined by min and max LatLng pairs.
ListOperationsResponse
The response message for Operations.ListOperations.
ListProductSetsResponse
Response message for the ListProductSets method.
ListProductsInProductSetResponse
Response message for the ListProductsInProductSet method.
ListProductsResponse
Response message for the ListProducts method.
ListReferenceImagesResponse
Response message for the ListReferenceImages method.
LocalizedObjectAnnotation
Set of detected objects with bounding boxes.
LocationInfo
Detected entity location information.
LocationsOperationsResource
LocationsResource
NormalizedVertex
A vertex represents a 2D point in the image.
ObjectAnnotation
Prediction for what the object in the bounding box is.
Operation
This resource represents a long-running operation that is the result of a network API call.
OperationsResource
OutputConfig
The desired output location and metadata.
Page
Detected page from OCR.
Paragraph
Structural unit of text representing a number of words in certain order.
Position
A 3D position in the image, used primarily for Face detection landmarks.
Product
A Product contains ReferenceImages.
ProductSearchParams
Parameters for a product search request.
ProductSearchResults
Results for a product search request.
ProductSet
A ProductSet contains Products.
ProductSetPurgeConfig
Config to control which ProductSet contains the Products to be deleted.
ProjectsFilesResource
ProjectsImagesResource
ProjectsLocationsFilesResource
ProjectsLocationsImagesResource
ProjectsLocationsOperationsResource
ProjectsLocationsProductSetsProductsResource
ProjectsLocationsProductSetsResource
ProjectsLocationsProductsReferenceImagesResource
ProjectsLocationsProductsResource
ProjectsLocationsResource
ProjectsOperationsResource
ProjectsResource
Property
A Property consists of a user-supplied name/value pair.
PurgeProductsRequest
Request message for the PurgeProducts method.
ReferenceImage
A ReferenceImage represents a product image and its associated metadata, such as bounding boxes.
RemoveProductFromProductSetRequest
Request message for the RemoveProductFromProductSet method.
Result
Information about a product.
SafeSearchAnnotation
Set of features pertaining to the image, computed by computer vision methods over safe-search verticals (for example, adult, spoof, medical, violence).
Symbol
A single symbol representation.
TextAnnotation
TextAnnotation contains a structured representation of OCR extracted text.
TextDetectionParams
Parameters for text detections.
TextProperty
Additional information detected on the structural component.
Vertex
A vertex represents a 2D point in the image.
VisionApi
Integrates Google Vision features, including image labeling, face, logo, and landmark detection, optical character recognition (OCR), and detection of explicit content, into applications.
WebDetection
Relevant information for the image from the Internet.
WebDetectionParams
Parameters for web detection request.
WebEntity
Entity deduced from similar images on the Internet.
WebImage
Metadata for online images.
WebLabel
Label to provide extra metadata for the web detection.
WebPage
Metadata for web pages.
Word
A word representation.

Typedefs

CancelOperationRequest = $Empty
The request message for Operations.CancelOperation.
Color = $Color
Represents a color in the RGBA color space.
Empty = $Empty
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs.
LatLng = $LatLng
An object that represents a latitude/longitude pair.
Status = $Status
The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs.

Exceptions / Errors

ApiRequestError
Represents a general error reported by the API endpoint.
DetailedApiRequestError
Represents a specific error reported by the API endpoint.