vision
packageThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Overview¶
Package vision aliases all exported identifiers in package"cloud.google.com/go/vision/v2/apiv1/visionpb".
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb.Please readhttps://github.com/googleapis/google-cloud-go/blob/main/migration.mdfor more details.
Index¶
- Constants
- Variables
- func RegisterImageAnnotatorServer(s *grpc.Server, srv ImageAnnotatorServer)deprecated
- func RegisterProductSearchServer(s *grpc.Server, srv ProductSearchServer)deprecated
- type AddProductToProductSetRequestdeprecated
- type AnnotateFileRequestdeprecated
- type AnnotateFileResponsedeprecated
- type AnnotateImageRequestdeprecated
- type AnnotateImageResponsedeprecated
- type AsyncAnnotateFileRequestdeprecated
- type AsyncAnnotateFileResponsedeprecated
- type AsyncBatchAnnotateFilesRequestdeprecated
- type AsyncBatchAnnotateFilesResponsedeprecated
- type AsyncBatchAnnotateImagesRequestdeprecated
- type AsyncBatchAnnotateImagesResponsedeprecated
- type BatchAnnotateFilesRequestdeprecated
- type BatchAnnotateFilesResponsedeprecated
- type BatchAnnotateImagesRequestdeprecated
- type BatchAnnotateImagesResponsedeprecated
- type BatchOperationMetadatadeprecated
- type BatchOperationMetadata_Statedeprecated
- type Blockdeprecated
- type Block_BlockTypedeprecated
- type BoundingPolydeprecated
- type ColorInfodeprecated
- type CreateProductRequestdeprecated
- type CreateProductSetRequestdeprecated
- type CreateReferenceImageRequestdeprecated
- type CropHintdeprecated
- type CropHintsAnnotationdeprecated
- type CropHintsParamsdeprecated
- type DeleteProductRequestdeprecated
- type DeleteProductSetRequestdeprecated
- type DeleteReferenceImageRequestdeprecated
- type DominantColorsAnnotationdeprecated
- type EntityAnnotationdeprecated
- type FaceAnnotationdeprecated
- type FaceAnnotation_Landmarkdeprecated
- type FaceAnnotation_Landmark_Typedeprecated
- type Featuredeprecated
- type Feature_Typedeprecated
- type GcsDestinationdeprecated
- type GcsSourcedeprecated
- type GetProductRequestdeprecated
- type GetProductSetRequestdeprecated
- type GetReferenceImageRequestdeprecated
- type Imagedeprecated
- type ImageAnnotationContextdeprecated
- type ImageAnnotatorClientdeprecated
- type ImageAnnotatorServerdeprecated
- type ImageContextdeprecated
- type ImagePropertiesdeprecated
- type ImageSourcedeprecated
- type ImportProductSetsGcsSourcedeprecated
- type ImportProductSetsInputConfigdeprecated
- type ImportProductSetsInputConfig_GcsSource
- type ImportProductSetsRequestdeprecated
- type ImportProductSetsResponsedeprecated
- type InputConfigdeprecated
- type LatLongRectdeprecated
- type Likelihooddeprecated
- type ListProductSetsRequestdeprecated
- type ListProductSetsResponsedeprecated
- type ListProductsInProductSetRequestdeprecated
- type ListProductsInProductSetResponsedeprecated
- type ListProductsRequestdeprecated
- type ListProductsResponsedeprecated
- type ListReferenceImagesRequestdeprecated
- type ListReferenceImagesResponsedeprecated
- type LocalizedObjectAnnotationdeprecated
- type LocationInfodeprecated
- type NormalizedVertexdeprecated
- type OperationMetadatadeprecated
- type OperationMetadata_Statedeprecated
- type OutputConfigdeprecated
- type Pagedeprecated
- type Paragraphdeprecated
- type Positiondeprecated
- type Productdeprecated
- type ProductSearchClientdeprecated
- type ProductSearchParamsdeprecated
- type ProductSearchResultsdeprecated
- type ProductSearchResults_GroupedResultdeprecated
- type ProductSearchResults_ObjectAnnotationdeprecated
- type ProductSearchResults_Resultdeprecated
- type ProductSearchServerdeprecated
- type ProductSetdeprecated
- type ProductSetPurgeConfigdeprecated
- type Product_KeyValuedeprecated
- type Propertydeprecated
- type PurgeProductsRequestdeprecated
- type PurgeProductsRequest_DeleteOrphanProducts
- type PurgeProductsRequest_ProductSetPurgeConfig
- type ReferenceImagedeprecated
- type RemoveProductFromProductSetRequestdeprecated
- type SafeSearchAnnotationdeprecated
- type Symboldeprecated
- type TextAnnotationdeprecated
- type TextAnnotation_DetectedBreakdeprecated
- type TextAnnotation_DetectedBreak_BreakTypedeprecated
- type TextAnnotation_DetectedLanguagedeprecated
- type TextAnnotation_TextPropertydeprecated
- type TextDetectionParamsdeprecated
- type UnimplementedImageAnnotatorServerdeprecated
- type UnimplementedProductSearchServerdeprecated
- type UpdateProductRequestdeprecated
- type UpdateProductSetRequestdeprecated
- type Vertexdeprecated
- type WebDetectiondeprecated
- type WebDetectionParamsdeprecated
- type WebDetection_WebEntitydeprecated
- type WebDetection_WebImagedeprecated
- type WebDetection_WebLabeldeprecated
- type WebDetection_WebPagedeprecated
- type Worddeprecated
Constants¶
const (BatchOperationMetadata_CANCELLED =src.BatchOperationMetadata_CANCELLEDBatchOperationMetadata_FAILED =src.BatchOperationMetadata_FAILEDBatchOperationMetadata_PROCESSING =src.BatchOperationMetadata_PROCESSINGBatchOperationMetadata_STATE_UNSPECIFIED =src.BatchOperationMetadata_STATE_UNSPECIFIEDBatchOperationMetadata_SUCCESSFUL =src.BatchOperationMetadata_SUCCESSFULBlock_BARCODE =src.Block_BARCODEBlock_PICTURE =src.Block_PICTUREBlock_RULER =src.Block_RULERBlock_TABLE =src.Block_TABLEBlock_TEXT =src.Block_TEXTBlock_UNKNOWN =src.Block_UNKNOWNFaceAnnotation_Landmark_CHIN_GNATHION =src.FaceAnnotation_Landmark_CHIN_GNATHIONFaceAnnotation_Landmark_CHIN_LEFT_GONION =src.FaceAnnotation_Landmark_CHIN_LEFT_GONIONFaceAnnotation_Landmark_CHIN_RIGHT_GONION =src.FaceAnnotation_Landmark_CHIN_RIGHT_GONIONFaceAnnotation_Landmark_FOREHEAD_GLABELLA =src.FaceAnnotation_Landmark_FOREHEAD_GLABELLAFaceAnnotation_Landmark_LEFT_CHEEK_CENTER =src.FaceAnnotation_Landmark_LEFT_CHEEK_CENTERFaceAnnotation_Landmark_LEFT_EAR_TRAGION =src.FaceAnnotation_Landmark_LEFT_EAR_TRAGIONFaceAnnotation_Landmark_LEFT_EYE =src.FaceAnnotation_Landmark_LEFT_EYEFaceAnnotation_Landmark_LEFT_EYEBROW_UPPER_MIDPOINT =src.FaceAnnotation_Landmark_LEFT_EYEBROW_UPPER_MIDPOINTFaceAnnotation_Landmark_LEFT_EYE_BOTTOM_BOUNDARY =src.FaceAnnotation_Landmark_LEFT_EYE_BOTTOM_BOUNDARYFaceAnnotation_Landmark_LEFT_EYE_LEFT_CORNER =src.FaceAnnotation_Landmark_LEFT_EYE_LEFT_CORNERFaceAnnotation_Landmark_LEFT_EYE_PUPIL =src.FaceAnnotation_Landmark_LEFT_EYE_PUPILFaceAnnotation_Landmark_LEFT_EYE_RIGHT_CORNER =src.FaceAnnotation_Landmark_LEFT_EYE_RIGHT_CORNERFaceAnnotation_Landmark_LEFT_EYE_TOP_BOUNDARY =src.FaceAnnotation_Landmark_LEFT_EYE_TOP_BOUNDARYFaceAnnotation_Landmark_LEFT_OF_LEFT_EYEBROW =src.FaceAnnotation_Landmark_LEFT_OF_LEFT_EYEBROWFaceAnnotation_Landmark_LEFT_OF_RIGHT_EYEBROW =src.FaceAnnotation_Landmark_LEFT_OF_RIGHT_EYEBROWFaceAnnotation_Landmark_LOWER_LIP =src.FaceAnnotation_Landmark_LOWER_LIPFaceAnnotation_Landmark_MIDPOINT_BETWEEN_EYES =src.FaceAnnotation_Landmark_MIDPOINT_BETWEEN_EYESFaceAnnotation_Landmark_MOUTH_CENTER =src.FaceAnnotation_Landmark_MOUTH_CENTERFaceAnnotation_Landmark_MOUTH_LEFT =src.FaceAnnotation_Landmark_MOUTH_LEFTFaceAnnotation_Landmark_MOUTH_RIGHT =src.FaceAnnotation_Landmark_MOUTH_RIGHTFaceAnnotation_Landmark_NOSE_BOTTOM_CENTER =src.FaceAnnotation_Landmark_NOSE_BOTTOM_CENTERFaceAnnotation_Landmark_NOSE_BOTTOM_LEFT =src.FaceAnnotation_Landmark_NOSE_BOTTOM_LEFTFaceAnnotation_Landmark_NOSE_BOTTOM_RIGHT =src.FaceAnnotation_Landmark_NOSE_BOTTOM_RIGHTFaceAnnotation_Landmark_NOSE_TIP =src.FaceAnnotation_Landmark_NOSE_TIPFaceAnnotation_Landmark_RIGHT_CHEEK_CENTER =src.FaceAnnotation_Landmark_RIGHT_CHEEK_CENTERFaceAnnotation_Landmark_RIGHT_EAR_TRAGION =src.FaceAnnotation_Landmark_RIGHT_EAR_TRAGIONFaceAnnotation_Landmark_RIGHT_EYE =src.FaceAnnotation_Landmark_RIGHT_EYEFaceAnnotation_Landmark_RIGHT_EYEBROW_UPPER_MIDPOINT =src.FaceAnnotation_Landmark_RIGHT_EYEBROW_UPPER_MIDPOINTFaceAnnotation_Landmark_RIGHT_EYE_BOTTOM_BOUNDARY =src.FaceAnnotation_Landmark_RIGHT_EYE_BOTTOM_BOUNDARYFaceAnnotation_Landmark_RIGHT_EYE_LEFT_CORNER =src.FaceAnnotation_Landmark_RIGHT_EYE_LEFT_CORNERFaceAnnotation_Landmark_RIGHT_EYE_PUPIL =src.FaceAnnotation_Landmark_RIGHT_EYE_PUPILFaceAnnotation_Landmark_RIGHT_EYE_RIGHT_CORNER =src.FaceAnnotation_Landmark_RIGHT_EYE_RIGHT_CORNERFaceAnnotation_Landmark_RIGHT_EYE_TOP_BOUNDARY =src.FaceAnnotation_Landmark_RIGHT_EYE_TOP_BOUNDARYFaceAnnotation_Landmark_RIGHT_OF_LEFT_EYEBROW =src.FaceAnnotation_Landmark_RIGHT_OF_LEFT_EYEBROWFaceAnnotation_Landmark_RIGHT_OF_RIGHT_EYEBROW =src.FaceAnnotation_Landmark_RIGHT_OF_RIGHT_EYEBROWFaceAnnotation_Landmark_UNKNOWN_LANDMARK =src.FaceAnnotation_Landmark_UNKNOWN_LANDMARKFaceAnnotation_Landmark_UPPER_LIP =src.FaceAnnotation_Landmark_UPPER_LIPFeature_CROP_HINTS =src.Feature_CROP_HINTSFeature_DOCUMENT_TEXT_DETECTION =src.Feature_DOCUMENT_TEXT_DETECTIONFeature_FACE_DETECTION =src.Feature_FACE_DETECTIONFeature_IMAGE_PROPERTIES =src.Feature_IMAGE_PROPERTIESFeature_LABEL_DETECTION =src.Feature_LABEL_DETECTIONFeature_LANDMARK_DETECTION =src.Feature_LANDMARK_DETECTIONFeature_LOGO_DETECTION =src.Feature_LOGO_DETECTIONFeature_OBJECT_LOCALIZATION =src.Feature_OBJECT_LOCALIZATIONFeature_PRODUCT_SEARCH =src.Feature_PRODUCT_SEARCHFeature_SAFE_SEARCH_DETECTION =src.Feature_SAFE_SEARCH_DETECTIONFeature_TEXT_DETECTION =src.Feature_TEXT_DETECTIONFeature_TYPE_UNSPECIFIED =src.Feature_TYPE_UNSPECIFIEDFeature_WEB_DETECTION =src.Feature_WEB_DETECTIONLikelihood_LIKELY =src.Likelihood_LIKELYLikelihood_POSSIBLE =src.Likelihood_POSSIBLELikelihood_UNKNOWN =src.Likelihood_UNKNOWNLikelihood_UNLIKELY =src.Likelihood_UNLIKELYLikelihood_VERY_LIKELY =src.Likelihood_VERY_LIKELYLikelihood_VERY_UNLIKELY =src.Likelihood_VERY_UNLIKELYOperationMetadata_CANCELLED =src.OperationMetadata_CANCELLEDOperationMetadata_CREATED =src.OperationMetadata_CREATEDOperationMetadata_DONE =src.OperationMetadata_DONEOperationMetadata_RUNNING =src.OperationMetadata_RUNNINGOperationMetadata_STATE_UNSPECIFIED =src.OperationMetadata_STATE_UNSPECIFIEDTextAnnotation_DetectedBreak_EOL_SURE_SPACE =src.TextAnnotation_DetectedBreak_EOL_SURE_SPACETextAnnotation_DetectedBreak_HYPHEN =src.TextAnnotation_DetectedBreak_HYPHENTextAnnotation_DetectedBreak_LINE_BREAK =src.TextAnnotation_DetectedBreak_LINE_BREAKTextAnnotation_DetectedBreak_SPACE =src.TextAnnotation_DetectedBreak_SPACETextAnnotation_DetectedBreak_SURE_SPACE =src.TextAnnotation_DetectedBreak_SURE_SPACETextAnnotation_DetectedBreak_UNKNOWN =src.TextAnnotation_DetectedBreak_UNKNOWN)
Deprecated: Please use consts in: cloud.google.com/go/vision/v2/apiv1/visionpb
Variables¶
var (BatchOperationMetadata_State_name =src.BatchOperationMetadata_State_nameBatchOperationMetadata_State_value =src.BatchOperationMetadata_State_valueBlock_BlockType_name =src.Block_BlockType_nameBlock_BlockType_value =src.Block_BlockType_valueFaceAnnotation_Landmark_Type_name =src.FaceAnnotation_Landmark_Type_nameFaceAnnotation_Landmark_Type_value =src.FaceAnnotation_Landmark_Type_valueFeature_Type_name =src.Feature_Type_nameFeature_Type_value =src.Feature_Type_valueFile_google_cloud_vision_v1_geometry_proto =src.File_google_cloud_vision_v1_geometry_protoFile_google_cloud_vision_v1_image_annotator_proto =src.File_google_cloud_vision_v1_image_annotator_protoFile_google_cloud_vision_v1_product_search_proto =src.File_google_cloud_vision_v1_product_search_protoFile_google_cloud_vision_v1_product_search_service_proto =src.File_google_cloud_vision_v1_product_search_service_protoFile_google_cloud_vision_v1_text_annotation_proto =src.File_google_cloud_vision_v1_text_annotation_protoFile_google_cloud_vision_v1_web_detection_proto =src.File_google_cloud_vision_v1_web_detection_protoLikelihood_name =src.Likelihood_nameLikelihood_value =src.Likelihood_valueOperationMetadata_State_name =src.OperationMetadata_State_nameOperationMetadata_State_value =src.OperationMetadata_State_valueTextAnnotation_DetectedBreak_BreakType_name =src.TextAnnotation_DetectedBreak_BreakType_nameTextAnnotation_DetectedBreak_BreakType_value =src.TextAnnotation_DetectedBreak_BreakType_value)
Deprecated: Please use vars in: cloud.google.com/go/vision/v2/apiv1/visionpb
Functions¶
funcRegisterImageAnnotatorServerdeprecated
func RegisterImageAnnotatorServer(s *grpc.Server, srvImageAnnotatorServer)
Deprecated: Please use funcs in: cloud.google.com/go/vision/v2/apiv1/visionpb
funcRegisterProductSearchServerdeprecated
func RegisterProductSearchServer(s *grpc.Server, srvProductSearchServer)
Deprecated: Please use funcs in: cloud.google.com/go/vision/v2/apiv1/visionpb
Types¶
typeAddProductToProductSetRequestdeprecated
type AddProductToProductSetRequest =src.AddProductToProductSetRequest
Request message for the `AddProductToProductSet` method.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeAnnotateFileRequestdeprecated
type AnnotateFileRequest =src.AnnotateFileRequest
A request to annotate one single file, e.g. a PDF, TIFF or GIF file.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeAnnotateFileResponsedeprecated
type AnnotateFileResponse =src.AnnotateFileResponse
Response to a single file annotation request. A file may contain one ormore images, which individually have their own responses.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeAnnotateImageRequestdeprecated
type AnnotateImageRequest =src.AnnotateImageRequest
Request for performing Google Cloud Vision API tasks over a user-providedimage, with user-requested features, and with context information.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeAnnotateImageResponsedeprecated
type AnnotateImageResponse =src.AnnotateImageResponse
Response to an image annotation request.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeAsyncAnnotateFileRequestdeprecated
type AsyncAnnotateFileRequest =src.AsyncAnnotateFileRequest
An offline file annotation request.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeAsyncAnnotateFileResponsedeprecated
type AsyncAnnotateFileResponse =src.AsyncAnnotateFileResponse
The response for a single offline file annotation request.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeAsyncBatchAnnotateFilesRequestdeprecated
type AsyncBatchAnnotateFilesRequest =src.AsyncBatchAnnotateFilesRequest
Multiple async file annotation requests are batched into a single servicecall.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeAsyncBatchAnnotateFilesResponsedeprecated
type AsyncBatchAnnotateFilesResponse =src.AsyncBatchAnnotateFilesResponse
Response to an async batch file annotation request.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeAsyncBatchAnnotateImagesRequestdeprecated
type AsyncBatchAnnotateImagesRequest =src.AsyncBatchAnnotateImagesRequest
Request for async image annotation for a list of images.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeAsyncBatchAnnotateImagesResponsedeprecated
type AsyncBatchAnnotateImagesResponse =src.AsyncBatchAnnotateImagesResponse
Response to an async batch image annotation request.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeBatchAnnotateFilesRequestdeprecated
type BatchAnnotateFilesRequest =src.BatchAnnotateFilesRequest
A list of requests to annotate files using the BatchAnnotateFiles API.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeBatchAnnotateFilesResponsedeprecated
type BatchAnnotateFilesResponse =src.BatchAnnotateFilesResponse
A list of file annotation responses.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeBatchAnnotateImagesRequestdeprecated
type BatchAnnotateImagesRequest =src.BatchAnnotateImagesRequest
Multiple image annotation requests are batched into a single service call.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeBatchAnnotateImagesResponsedeprecated
type BatchAnnotateImagesResponse =src.BatchAnnotateImagesResponse
Response to a batch image annotation request.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeBatchOperationMetadatadeprecated
type BatchOperationMetadata =src.BatchOperationMetadata
Metadata for the batch operations such as the current state. This isincluded in the `metadata` field of the `Operation` returned by the`GetOperation` call of the `google::longrunning::Operations` service.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeBatchOperationMetadata_Statedeprecated
type BatchOperationMetadata_State =src.BatchOperationMetadata_State
Enumerates the possible states that the batch request can be in.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeBlock_BlockTypedeprecated
type Block_BlockType =src.Block_BlockType
Type of a block (text, image etc) as identified by OCR.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeBoundingPolydeprecated
type BoundingPoly =src.BoundingPoly
A bounding polygon for the detected image annotation.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeCreateProductRequestdeprecated
type CreateProductRequest =src.CreateProductRequest
Request message for the `CreateProduct` method.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeCreateProductSetRequestdeprecated
type CreateProductSetRequest =src.CreateProductSetRequest
Request message for the `CreateProductSet` method.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeCreateReferenceImageRequestdeprecated
type CreateReferenceImageRequest =src.CreateReferenceImageRequest
Request message for the `CreateReferenceImage` method.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeCropHintsAnnotationdeprecated
type CropHintsAnnotation =src.CropHintsAnnotation
Set of crop hints that are used to generate new crops when serving images.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeCropHintsParamsdeprecated
type CropHintsParams =src.CropHintsParams
Parameters for crop hints annotation request.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeDeleteProductRequestdeprecated
type DeleteProductRequest =src.DeleteProductRequest
Request message for the `DeleteProduct` method.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeDeleteProductSetRequestdeprecated
type DeleteProductSetRequest =src.DeleteProductSetRequest
Request message for the `DeleteProductSet` method.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeDeleteReferenceImageRequestdeprecated
type DeleteReferenceImageRequest =src.DeleteReferenceImageRequest
Request message for the `DeleteReferenceImage` method.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeDominantColorsAnnotationdeprecated
type DominantColorsAnnotation =src.DominantColorsAnnotation
Set of dominant colors and their corresponding scores.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeEntityAnnotationdeprecated
type EntityAnnotation =src.EntityAnnotation
Set of detected entity features.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeFaceAnnotationdeprecated
type FaceAnnotation =src.FaceAnnotation
A face annotation object contains the results of face detection.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeFaceAnnotation_Landmarkdeprecated
type FaceAnnotation_Landmark =src.FaceAnnotation_Landmark
A face-specific landmark (for example, a face feature).
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeFaceAnnotation_Landmark_Typedeprecated
type FaceAnnotation_Landmark_Type =src.FaceAnnotation_Landmark_Type
Face landmark (feature) type. Left and right are defined from the vantageof the viewer of the image without considering mirror projections typical ofphotos. So, `LEFT_EYE`, typically, is the person's right eye.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeFeaturedeprecated
typeFeature_Typedeprecated
type Feature_Type =src.Feature_Type
Type of Google Cloud Vision API feature to be extracted.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeGcsDestinationdeprecated
type GcsDestination =src.GcsDestination
The Google Cloud Storage location where the output will be written to.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeGetProductRequestdeprecated
type GetProductRequest =src.GetProductRequest
Request message for the `GetProduct` method.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeGetProductSetRequestdeprecated
type GetProductSetRequest =src.GetProductSetRequest
Request message for the `GetProductSet` method.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeGetReferenceImageRequestdeprecated
type GetReferenceImageRequest =src.GetReferenceImageRequest
Request message for the `GetReferenceImage` method.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeImageAnnotationContextdeprecated
type ImageAnnotationContext =src.ImageAnnotationContext
If an image was produced from a file (e.g. a PDF), this message givesinformation about the source of that image.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeImageAnnotatorClientdeprecated
type ImageAnnotatorClient =src.ImageAnnotatorClient
ImageAnnotatorClient is the client API for ImageAnnotator service. Forsemantics around ctx use and closing/ending streaming RPCs, please refer tohttps://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
funcNewImageAnnotatorClientdeprecated
func NewImageAnnotatorClient(ccgrpc.ClientConnInterface)ImageAnnotatorClient
Deprecated: Please use funcs in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeImageAnnotatorServerdeprecated
type ImageAnnotatorServer =src.ImageAnnotatorServer
ImageAnnotatorServer is the server API for ImageAnnotator service.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeImageContextdeprecated
type ImageContext =src.ImageContext
Image context and/or feature-specific parameters.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeImagePropertiesdeprecated
type ImageProperties =src.ImageProperties
Stores image properties, such as dominant colors.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeImageSourcedeprecated
type ImageSource =src.ImageSource
External image source (Google Cloud Storage or web URL image location).
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeImportProductSetsGcsSourcedeprecated
type ImportProductSetsGcsSource =src.ImportProductSetsGcsSource
The Google Cloud Storage location for a csv file which preserves a list ofImportProductSetRequests in each line.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeImportProductSetsInputConfigdeprecated
type ImportProductSetsInputConfig =src.ImportProductSetsInputConfig
The input content for the `ImportProductSets` method.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeImportProductSetsInputConfig_GcsSource¶
type ImportProductSetsInputConfig_GcsSource =src.ImportProductSetsInputConfig_GcsSource
typeImportProductSetsRequestdeprecated
type ImportProductSetsRequest =src.ImportProductSetsRequest
Request message for the `ImportProductSets` method.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeImportProductSetsResponsedeprecated
type ImportProductSetsResponse =src.ImportProductSetsResponse
Response message for the `ImportProductSets` method. This message isreturned by the[google.longrunning.Operations.GetOperation][google.longrunning.Operations.GetOperation]method in the returned[google.longrunning.Operation.response][google.longrunning.Operation.response]field.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeInputConfigdeprecated
type InputConfig =src.InputConfig
The desired input location and metadata.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeLatLongRectdeprecated
type LatLongRect =src.LatLongRect
Rectangle determined by min and max `LatLng` pairs.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeLikelihooddeprecated
type Likelihood =src.Likelihood
A bucketized representation of likelihood, which is intended to giveclients highly stable results across model upgrades.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeListProductSetsRequestdeprecated
type ListProductSetsRequest =src.ListProductSetsRequest
Request message for the `ListProductSets` method.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeListProductSetsResponsedeprecated
type ListProductSetsResponse =src.ListProductSetsResponse
Response message for the `ListProductSets` method.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeListProductsInProductSetRequestdeprecated
type ListProductsInProductSetRequest =src.ListProductsInProductSetRequest
Request message for the `ListProductsInProductSet` method.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeListProductsInProductSetResponsedeprecated
type ListProductsInProductSetResponse =src.ListProductsInProductSetResponse
Response message for the `ListProductsInProductSet` method.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeListProductsRequestdeprecated
type ListProductsRequest =src.ListProductsRequest
Request message for the `ListProducts` method.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeListProductsResponsedeprecated
type ListProductsResponse =src.ListProductsResponse
Response message for the `ListProducts` method.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeListReferenceImagesRequestdeprecated
type ListReferenceImagesRequest =src.ListReferenceImagesRequest
Request message for the `ListReferenceImages` method.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeListReferenceImagesResponsedeprecated
type ListReferenceImagesResponse =src.ListReferenceImagesResponse
Response message for the `ListReferenceImages` method.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeLocalizedObjectAnnotationdeprecated
type LocalizedObjectAnnotation =src.LocalizedObjectAnnotation
Set of detected objects with bounding boxes.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeLocationInfodeprecated
type LocationInfo =src.LocationInfo
Detected entity location information.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeNormalizedVertexdeprecated
type NormalizedVertex =src.NormalizedVertex
A vertex represents a 2D point in the image. NOTE: the normalized vertexcoordinates are relative to the original image and range from 0 to 1.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeOperationMetadatadeprecated
type OperationMetadata =src.OperationMetadata
Contains metadata for the BatchAnnotateImages operation.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeOperationMetadata_Statedeprecated
type OperationMetadata_State =src.OperationMetadata_State
Batch operation states.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeOutputConfigdeprecated
type OutputConfig =src.OutputConfig
The desired output location and metadata.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typePositiondeprecated
typeProductSearchClientdeprecated
type ProductSearchClient =src.ProductSearchClient
ProductSearchClient is the client API for ProductSearch service. Forsemantics around ctx use and closing/ending streaming RPCs, please refer tohttps://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
funcNewProductSearchClientdeprecated
func NewProductSearchClient(ccgrpc.ClientConnInterface)ProductSearchClient
Deprecated: Please use funcs in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeProductSearchParamsdeprecated
type ProductSearchParams =src.ProductSearchParams
Parameters for a product search request.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeProductSearchResultsdeprecated
type ProductSearchResults =src.ProductSearchResults
Results for a product search request.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeProductSearchResults_GroupedResultdeprecated
type ProductSearchResults_GroupedResult =src.ProductSearchResults_GroupedResult
Information about the products similar to a single product in a queryimage.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeProductSearchResults_ObjectAnnotationdeprecated
type ProductSearchResults_ObjectAnnotation =src.ProductSearchResults_ObjectAnnotation
Prediction for what the object in the bounding box is.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeProductSearchResults_Resultdeprecated
type ProductSearchResults_Result =src.ProductSearchResults_Result
Information about a product.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeProductSearchServerdeprecated
type ProductSearchServer =src.ProductSearchServer
ProductSearchServer is the server API for ProductSearch service.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeProductSetdeprecated
type ProductSet =src.ProductSet
A ProductSet contains Products. A ProductSet can contain a maximum of 1million reference images. If the limit is exceeded, periodic indexing willfail.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeProductSetPurgeConfigdeprecated
type ProductSetPurgeConfig =src.ProductSetPurgeConfig
Config to control which ProductSet contains the Products to be deleted.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeProduct_KeyValuedeprecated
type Product_KeyValue =src.Product_KeyValue
A product label represented as a key-value pair.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typePurgeProductsRequestdeprecated
type PurgeProductsRequest =src.PurgeProductsRequest
Request message for the `PurgeProducts` method.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typePurgeProductsRequest_DeleteOrphanProducts¶
type PurgeProductsRequest_DeleteOrphanProducts =src.PurgeProductsRequest_DeleteOrphanProducts
typePurgeProductsRequest_ProductSetPurgeConfig¶
type PurgeProductsRequest_ProductSetPurgeConfig =src.PurgeProductsRequest_ProductSetPurgeConfig
typeReferenceImagedeprecated
type ReferenceImage =src.ReferenceImage
A `ReferenceImage` represents a product image and its associated metadata,such as bounding boxes.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeRemoveProductFromProductSetRequestdeprecated
type RemoveProductFromProductSetRequest =src.RemoveProductFromProductSetRequest
Request message for the `RemoveProductFromProductSet` method.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeSafeSearchAnnotationdeprecated
type SafeSearchAnnotation =src.SafeSearchAnnotation
Set of features pertaining to the image, computed by computer visionmethods over safe-search verticals (for example, adult, spoof, medical,violence).
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeTextAnnotationdeprecated
type TextAnnotation =src.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 Eachstructural component, starting from Page, may further have their ownproperties. Properties describe detected languages, breaks etc.. Pleaserefer to the[TextAnnotation.TextProperty][google.cloud.vision.v1.TextAnnotation.TextProperty]message definition below for more detail.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeTextAnnotation_DetectedBreakdeprecated
type TextAnnotation_DetectedBreak =src.TextAnnotation_DetectedBreak
Detected start or end of a structural component.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeTextAnnotation_DetectedBreak_BreakTypedeprecated
type TextAnnotation_DetectedBreak_BreakType =src.TextAnnotation_DetectedBreak_BreakType
Enum to denote the type of break found. New line, space etc.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeTextAnnotation_DetectedLanguagedeprecated
type TextAnnotation_DetectedLanguage =src.TextAnnotation_DetectedLanguage
Detected language for a structural component.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeTextAnnotation_TextPropertydeprecated
type TextAnnotation_TextProperty =src.TextAnnotation_TextProperty
Additional information detected on the structural component.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeTextDetectionParamsdeprecated
type TextDetectionParams =src.TextDetectionParams
Parameters for text detections. This is used to control TEXT_DETECTION andDOCUMENT_TEXT_DETECTION features.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeUnimplementedImageAnnotatorServerdeprecated
type UnimplementedImageAnnotatorServer =src.UnimplementedImageAnnotatorServer
UnimplementedImageAnnotatorServer can be embedded to have forwardcompatible implementations.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeUnimplementedProductSearchServerdeprecated
type UnimplementedProductSearchServer =src.UnimplementedProductSearchServer
UnimplementedProductSearchServer can be embedded to have forward compatibleimplementations.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeUpdateProductRequestdeprecated
type UpdateProductRequest =src.UpdateProductRequest
Request message for the `UpdateProduct` method.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeUpdateProductSetRequestdeprecated
type UpdateProductSetRequest =src.UpdateProductSetRequest
Request message for the `UpdateProductSet` method.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeWebDetectiondeprecated
type WebDetection =src.WebDetection
Relevant information for the image from the Internet.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeWebDetectionParamsdeprecated
type WebDetectionParams =src.WebDetectionParams
Parameters for web detection request.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeWebDetection_WebEntitydeprecated
type WebDetection_WebEntity =src.WebDetection_WebEntity
Entity deduced from similar images on the Internet.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeWebDetection_WebImagedeprecated
type WebDetection_WebImage =src.WebDetection_WebImage
Metadata for online images.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeWebDetection_WebLabeldeprecated
type WebDetection_WebLabel =src.WebDetection_WebLabel
Label to provide extra metadata for the web detection.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
typeWebDetection_WebPagedeprecated
type WebDetection_WebPage =src.WebDetection_WebPage
Metadata for web pages.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb