Module: Google::Apis::VisionV1

Defined in:
generated/google/apis/vision_v1.rb,
generated/google/apis/vision_v1/classes.rb,
generated/google/apis/vision_v1/service.rb,
generated/google/apis/vision_v1/representations.rb

Overview

Cloud Vision API

Integrates Google Vision features, including image labeling, face, logo, and landmark detection, optical character recognition (OCR), and detection of explicit content, into applications.

Defined Under Namespace

Classes: AddProductToProductSetRequest, AnnotateFileRequest, AnnotateFileResponse, AnnotateImageRequest, AnnotateImageResponse, AsyncAnnotateFileRequest, AsyncAnnotateFileResponse, AsyncBatchAnnotateFilesRequest, AsyncBatchAnnotateFilesResponse, AsyncBatchAnnotateImagesRequest, AsyncBatchAnnotateImagesResponse, BatchAnnotateFilesRequest, BatchAnnotateFilesResponse, BatchAnnotateImagesRequest, BatchAnnotateImagesResponse, BatchOperationMetadata, Block, BoundingPoly, CancelOperationRequest, Color, ColorInfo, CropHint, CropHintsAnnotation, CropHintsParams, DetectedBreak, DetectedLanguage, DominantColorsAnnotation, Empty, EntityAnnotation, FaceAnnotation, Feature, GcsDestination, GcsSource, GoogleCloudVisionV1p1beta1AnnotateFileResponse, GoogleCloudVisionV1p1beta1AnnotateImageResponse, GoogleCloudVisionV1p1beta1AsyncAnnotateFileResponse, GoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesResponse, GoogleCloudVisionV1p1beta1Block, GoogleCloudVisionV1p1beta1BoundingPoly, GoogleCloudVisionV1p1beta1ColorInfo, GoogleCloudVisionV1p1beta1CropHint, GoogleCloudVisionV1p1beta1CropHintsAnnotation, GoogleCloudVisionV1p1beta1DominantColorsAnnotation, GoogleCloudVisionV1p1beta1EntityAnnotation, GoogleCloudVisionV1p1beta1FaceAnnotation, GoogleCloudVisionV1p1beta1FaceAnnotationLandmark, GoogleCloudVisionV1p1beta1GcsDestination, GoogleCloudVisionV1p1beta1GcsSource, GoogleCloudVisionV1p1beta1ImageAnnotationContext, GoogleCloudVisionV1p1beta1ImageProperties, GoogleCloudVisionV1p1beta1InputConfig, GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation, GoogleCloudVisionV1p1beta1LocationInfo, GoogleCloudVisionV1p1beta1NormalizedVertex, GoogleCloudVisionV1p1beta1OperationMetadata, GoogleCloudVisionV1p1beta1OutputConfig, GoogleCloudVisionV1p1beta1Page, GoogleCloudVisionV1p1beta1Paragraph, GoogleCloudVisionV1p1beta1Position, GoogleCloudVisionV1p1beta1Product, GoogleCloudVisionV1p1beta1ProductKeyValue, GoogleCloudVisionV1p1beta1ProductSearchResults, GoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult, GoogleCloudVisionV1p1beta1ProductSearchResultsObjectAnnotation, GoogleCloudVisionV1p1beta1ProductSearchResultsResult, GoogleCloudVisionV1p1beta1Property, GoogleCloudVisionV1p1beta1SafeSearchAnnotation, GoogleCloudVisionV1p1beta1Symbol, GoogleCloudVisionV1p1beta1TextAnnotation, GoogleCloudVisionV1p1beta1TextAnnotationDetectedBreak, GoogleCloudVisionV1p1beta1TextAnnotationDetectedLanguage, GoogleCloudVisionV1p1beta1TextAnnotationTextProperty, GoogleCloudVisionV1p1beta1Vertex, GoogleCloudVisionV1p1beta1WebDetection, GoogleCloudVisionV1p1beta1WebDetectionWebEntity, GoogleCloudVisionV1p1beta1WebDetectionWebImage, GoogleCloudVisionV1p1beta1WebDetectionWebLabel, GoogleCloudVisionV1p1beta1WebDetectionWebPage, GoogleCloudVisionV1p1beta1Word, GoogleCloudVisionV1p2beta1AnnotateFileResponse, GoogleCloudVisionV1p2beta1AnnotateImageResponse, GoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse, GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse, GoogleCloudVisionV1p2beta1Block, GoogleCloudVisionV1p2beta1BoundingPoly, GoogleCloudVisionV1p2beta1ColorInfo, GoogleCloudVisionV1p2beta1CropHint, GoogleCloudVisionV1p2beta1CropHintsAnnotation, GoogleCloudVisionV1p2beta1DominantColorsAnnotation, GoogleCloudVisionV1p2beta1EntityAnnotation, GoogleCloudVisionV1p2beta1FaceAnnotation, GoogleCloudVisionV1p2beta1FaceAnnotationLandmark, GoogleCloudVisionV1p2beta1GcsDestination, GoogleCloudVisionV1p2beta1GcsSource, GoogleCloudVisionV1p2beta1ImageAnnotationContext, GoogleCloudVisionV1p2beta1ImageProperties, GoogleCloudVisionV1p2beta1InputConfig, GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation, GoogleCloudVisionV1p2beta1LocationInfo, GoogleCloudVisionV1p2beta1NormalizedVertex, GoogleCloudVisionV1p2beta1OperationMetadata, GoogleCloudVisionV1p2beta1OutputConfig, GoogleCloudVisionV1p2beta1Page, GoogleCloudVisionV1p2beta1Paragraph, GoogleCloudVisionV1p2beta1Position, GoogleCloudVisionV1p2beta1Product, GoogleCloudVisionV1p2beta1ProductKeyValue, GoogleCloudVisionV1p2beta1ProductSearchResults, GoogleCloudVisionV1p2beta1ProductSearchResultsGroupedResult, GoogleCloudVisionV1p2beta1ProductSearchResultsObjectAnnotation, GoogleCloudVisionV1p2beta1ProductSearchResultsResult, GoogleCloudVisionV1p2beta1Property, GoogleCloudVisionV1p2beta1SafeSearchAnnotation, GoogleCloudVisionV1p2beta1Symbol, GoogleCloudVisionV1p2beta1TextAnnotation, GoogleCloudVisionV1p2beta1TextAnnotationDetectedBreak, GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage, GoogleCloudVisionV1p2beta1TextAnnotationTextProperty, GoogleCloudVisionV1p2beta1Vertex, GoogleCloudVisionV1p2beta1WebDetection, GoogleCloudVisionV1p2beta1WebDetectionWebEntity, GoogleCloudVisionV1p2beta1WebDetectionWebImage, GoogleCloudVisionV1p2beta1WebDetectionWebLabel, GoogleCloudVisionV1p2beta1WebDetectionWebPage, GoogleCloudVisionV1p2beta1Word, GoogleCloudVisionV1p3beta1AnnotateFileResponse, GoogleCloudVisionV1p3beta1AnnotateImageResponse, GoogleCloudVisionV1p3beta1AsyncAnnotateFileResponse, GoogleCloudVisionV1p3beta1AsyncBatchAnnotateFilesResponse, GoogleCloudVisionV1p3beta1BatchOperationMetadata, GoogleCloudVisionV1p3beta1Block, GoogleCloudVisionV1p3beta1BoundingPoly, GoogleCloudVisionV1p3beta1ColorInfo, GoogleCloudVisionV1p3beta1CropHint, GoogleCloudVisionV1p3beta1CropHintsAnnotation, GoogleCloudVisionV1p3beta1DominantColorsAnnotation, GoogleCloudVisionV1p3beta1EntityAnnotation, GoogleCloudVisionV1p3beta1FaceAnnotation, GoogleCloudVisionV1p3beta1FaceAnnotationLandmark, GoogleCloudVisionV1p3beta1GcsDestination, GoogleCloudVisionV1p3beta1GcsSource, GoogleCloudVisionV1p3beta1ImageAnnotationContext, GoogleCloudVisionV1p3beta1ImageProperties, GoogleCloudVisionV1p3beta1ImportProductSetsResponse, GoogleCloudVisionV1p3beta1InputConfig, GoogleCloudVisionV1p3beta1LocalizedObjectAnnotation, GoogleCloudVisionV1p3beta1LocationInfo, GoogleCloudVisionV1p3beta1NormalizedVertex, GoogleCloudVisionV1p3beta1OperationMetadata, GoogleCloudVisionV1p3beta1OutputConfig, GoogleCloudVisionV1p3beta1Page, GoogleCloudVisionV1p3beta1Paragraph, GoogleCloudVisionV1p3beta1Position, GoogleCloudVisionV1p3beta1Product, GoogleCloudVisionV1p3beta1ProductKeyValue, GoogleCloudVisionV1p3beta1ProductSearchResults, GoogleCloudVisionV1p3beta1ProductSearchResultsGroupedResult, GoogleCloudVisionV1p3beta1ProductSearchResultsObjectAnnotation, GoogleCloudVisionV1p3beta1ProductSearchResultsResult, GoogleCloudVisionV1p3beta1Property, GoogleCloudVisionV1p3beta1ReferenceImage, GoogleCloudVisionV1p3beta1SafeSearchAnnotation, GoogleCloudVisionV1p3beta1Symbol, GoogleCloudVisionV1p3beta1TextAnnotation, GoogleCloudVisionV1p3beta1TextAnnotationDetectedBreak, GoogleCloudVisionV1p3beta1TextAnnotationDetectedLanguage, GoogleCloudVisionV1p3beta1TextAnnotationTextProperty, GoogleCloudVisionV1p3beta1Vertex, GoogleCloudVisionV1p3beta1WebDetection, GoogleCloudVisionV1p3beta1WebDetectionWebEntity, GoogleCloudVisionV1p3beta1WebDetectionWebImage, GoogleCloudVisionV1p3beta1WebDetectionWebLabel, GoogleCloudVisionV1p3beta1WebDetectionWebPage, GoogleCloudVisionV1p3beta1Word, GoogleCloudVisionV1p4beta1AnnotateFileResponse, GoogleCloudVisionV1p4beta1AnnotateImageResponse, GoogleCloudVisionV1p4beta1AsyncAnnotateFileResponse, GoogleCloudVisionV1p4beta1AsyncBatchAnnotateFilesResponse, GoogleCloudVisionV1p4beta1AsyncBatchAnnotateImagesResponse, GoogleCloudVisionV1p4beta1BatchAnnotateFilesResponse, GoogleCloudVisionV1p4beta1BatchOperationMetadata, GoogleCloudVisionV1p4beta1Block, GoogleCloudVisionV1p4beta1BoundingPoly, GoogleCloudVisionV1p4beta1Celebrity, GoogleCloudVisionV1p4beta1ColorInfo, GoogleCloudVisionV1p4beta1CropHint, GoogleCloudVisionV1p4beta1CropHintsAnnotation, GoogleCloudVisionV1p4beta1DominantColorsAnnotation, GoogleCloudVisionV1p4beta1EntityAnnotation, GoogleCloudVisionV1p4beta1FaceAnnotation, GoogleCloudVisionV1p4beta1FaceAnnotationLandmark, GoogleCloudVisionV1p4beta1FaceRecognitionResult, GoogleCloudVisionV1p4beta1GcsDestination, GoogleCloudVisionV1p4beta1GcsSource, GoogleCloudVisionV1p4beta1ImageAnnotationContext, GoogleCloudVisionV1p4beta1ImageProperties, GoogleCloudVisionV1p4beta1ImportProductSetsResponse, GoogleCloudVisionV1p4beta1InputConfig, GoogleCloudVisionV1p4beta1LocalizedObjectAnnotation, GoogleCloudVisionV1p4beta1LocationInfo, GoogleCloudVisionV1p4beta1NormalizedVertex, GoogleCloudVisionV1p4beta1OperationMetadata, GoogleCloudVisionV1p4beta1OutputConfig, GoogleCloudVisionV1p4beta1Page, GoogleCloudVisionV1p4beta1Paragraph, GoogleCloudVisionV1p4beta1Position, GoogleCloudVisionV1p4beta1Product, GoogleCloudVisionV1p4beta1ProductKeyValue, GoogleCloudVisionV1p4beta1ProductSearchResults, GoogleCloudVisionV1p4beta1ProductSearchResultsGroupedResult, GoogleCloudVisionV1p4beta1ProductSearchResultsObjectAnnotation, GoogleCloudVisionV1p4beta1ProductSearchResultsResult, GoogleCloudVisionV1p4beta1Property, GoogleCloudVisionV1p4beta1ReferenceImage, GoogleCloudVisionV1p4beta1SafeSearchAnnotation, GoogleCloudVisionV1p4beta1Symbol, GoogleCloudVisionV1p4beta1TextAnnotation, GoogleCloudVisionV1p4beta1TextAnnotationDetectedBreak, GoogleCloudVisionV1p4beta1TextAnnotationDetectedLanguage, GoogleCloudVisionV1p4beta1TextAnnotationTextProperty, GoogleCloudVisionV1p4beta1Vertex, GoogleCloudVisionV1p4beta1WebDetection, GoogleCloudVisionV1p4beta1WebDetectionWebEntity, GoogleCloudVisionV1p4beta1WebDetectionWebImage, GoogleCloudVisionV1p4beta1WebDetectionWebLabel, GoogleCloudVisionV1p4beta1WebDetectionWebPage, GoogleCloudVisionV1p4beta1Word, GroupedResult, Image, ImageAnnotationContext, ImageContext, ImageProperties, ImageSource, ImportProductSetsGcsSource, ImportProductSetsInputConfig, ImportProductSetsRequest, ImportProductSetsResponse, InputConfig, KeyValue, Landmark, LatLng, LatLongRect, ListOperationsResponse, ListProductSetsResponse, ListProductsInProductSetResponse, ListProductsResponse, ListReferenceImagesResponse, LocalizedObjectAnnotation, LocationInfo, NormalizedVertex, ObjectAnnotation, Operation, OperationMetadata, OutputConfig, Page, Paragraph, Position, Product, ProductSearchParams, ProductSearchResults, ProductSet, ProductSetPurgeConfig, Property, PurgeProductsRequest, ReferenceImage, RemoveProductFromProductSetRequest, Result, SafeSearchAnnotation, Status, Symbol, TextAnnotation, TextProperty, Vertex, VisionService, WebDetection, WebDetectionParams, WebEntity, WebImage, WebLabel, WebPage, Word

Constant Summary collapse

VERSION =
'V1'
REVISION =
'20200801'
AUTH_CLOUD_PLATFORM =

View and manage your data across Google Cloud Platform services

'https://www.googleapis.com/auth/cloud-platform'
AUTH_CLOUD_VISION =

Apply machine learning models to understand and label images

'https://www.googleapis.com/auth/cloud-vision'