package vision
import "google.golang.org/genproto/googleapis/cloud/vision/v1"
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 read https://github.com/googleapis/google-cloud-go/blob/main/migration.md for more details.
Index ¶
- Constants
- Variables
- func RegisterImageAnnotatorServer(s *grpc.Server, srv ImageAnnotatorServer)
- func RegisterProductSearchServer(s *grpc.Server, srv ProductSearchServer)
- type AddProductToProductSetRequest
- type AnnotateFileRequest
- type AnnotateFileResponse
- type AnnotateImageRequest
- type AnnotateImageResponse
- type AsyncAnnotateFileRequest
- type AsyncAnnotateFileResponse
- type AsyncBatchAnnotateFilesRequest
- type AsyncBatchAnnotateFilesResponse
- type AsyncBatchAnnotateImagesRequest
- type AsyncBatchAnnotateImagesResponse
- type BatchAnnotateFilesRequest
- type BatchAnnotateFilesResponse
- type BatchAnnotateImagesRequest
- type BatchAnnotateImagesResponse
- type BatchOperationMetadata
- type BatchOperationMetadata_State
- type Block
- type Block_BlockType
- type BoundingPoly
- type ColorInfo
- type CreateProductRequest
- type CreateProductSetRequest
- type CreateReferenceImageRequest
- type CropHint
- type CropHintsAnnotation
- type CropHintsParams
- type DeleteProductRequest
- type DeleteProductSetRequest
- type DeleteReferenceImageRequest
- type DominantColorsAnnotation
- type EntityAnnotation
- type FaceAnnotation
- type FaceAnnotation_Landmark
- type FaceAnnotation_Landmark_Type
- type Feature
- type Feature_Type
- type GcsDestination
- type GcsSource
- type GetProductRequest
- type GetProductSetRequest
- type GetReferenceImageRequest
- type Image
- type ImageAnnotationContext
- type ImageAnnotatorClient
- type ImageAnnotatorServer
- type ImageContext
- type ImageProperties
- type ImageSource
- type ImportProductSetsGcsSource
- type ImportProductSetsInputConfig
- type ImportProductSetsInputConfig_GcsSource
- type ImportProductSetsRequest
- type ImportProductSetsResponse
- type InputConfig
- type LatLongRect
- type Likelihood
- type ListProductSetsRequest
- type ListProductSetsResponse
- type ListProductsInProductSetRequest
- type ListProductsInProductSetResponse
- type ListProductsRequest
- type ListProductsResponse
- type ListReferenceImagesRequest
- type ListReferenceImagesResponse
- type LocalizedObjectAnnotation
- type LocationInfo
- type NormalizedVertex
- type OperationMetadata
- type OperationMetadata_State
- type OutputConfig
- type Page
- type Paragraph
- type Position
- type Product
- type ProductSearchClient
- type ProductSearchParams
- type ProductSearchResults
- type ProductSearchResults_GroupedResult
- type ProductSearchResults_ObjectAnnotation
- type ProductSearchResults_Result
- type ProductSearchServer
- type ProductSet
- type ProductSetPurgeConfig
- type Product_KeyValue
- type Property
- type PurgeProductsRequest
- type PurgeProductsRequest_DeleteOrphanProducts
- type PurgeProductsRequest_ProductSetPurgeConfig
- type ReferenceImage
- type RemoveProductFromProductSetRequest
- type SafeSearchAnnotation
- type Symbol
- type TextAnnotation
- type TextAnnotation_DetectedBreak
- type TextAnnotation_DetectedBreak_BreakType
- type TextAnnotation_DetectedLanguage
- type TextAnnotation_TextProperty
- type TextDetectionParams
- type UnimplementedImageAnnotatorServer
- type UnimplementedProductSearchServer
- type UpdateProductRequest
- type UpdateProductSetRequest
- type Vertex
- type WebDetection
- type WebDetectionParams
- type WebDetection_WebEntity
- type WebDetection_WebImage
- type WebDetection_WebLabel
- type WebDetection_WebPage
- type Word
Constants ¶
const ( BatchOperationMetadata_CANCELLED = src.BatchOperationMetadata_CANCELLED BatchOperationMetadata_FAILED = src.BatchOperationMetadata_FAILED BatchOperationMetadata_PROCESSING = src.BatchOperationMetadata_PROCESSING BatchOperationMetadata_STATE_UNSPECIFIED = src.BatchOperationMetadata_STATE_UNSPECIFIED BatchOperationMetadata_SUCCESSFUL = src.BatchOperationMetadata_SUCCESSFUL Block_BARCODE = src.Block_BARCODE Block_PICTURE = src.Block_PICTURE Block_RULER = src.Block_RULER Block_TABLE = src.Block_TABLE Block_TEXT = src.Block_TEXT Block_UNKNOWN = src.Block_UNKNOWN FaceAnnotation_Landmark_CHIN_GNATHION = src.FaceAnnotation_Landmark_CHIN_GNATHION FaceAnnotation_Landmark_CHIN_LEFT_GONION = src.FaceAnnotation_Landmark_CHIN_LEFT_GONION FaceAnnotation_Landmark_CHIN_RIGHT_GONION = src.FaceAnnotation_Landmark_CHIN_RIGHT_GONION FaceAnnotation_Landmark_FOREHEAD_GLABELLA = src.FaceAnnotation_Landmark_FOREHEAD_GLABELLA FaceAnnotation_Landmark_LEFT_CHEEK_CENTER = src.FaceAnnotation_Landmark_LEFT_CHEEK_CENTER FaceAnnotation_Landmark_LEFT_EAR_TRAGION = src.FaceAnnotation_Landmark_LEFT_EAR_TRAGION FaceAnnotation_Landmark_LEFT_EYE = src.FaceAnnotation_Landmark_LEFT_EYE FaceAnnotation_Landmark_LEFT_EYEBROW_UPPER_MIDPOINT = src.FaceAnnotation_Landmark_LEFT_EYEBROW_UPPER_MIDPOINT FaceAnnotation_Landmark_LEFT_EYE_BOTTOM_BOUNDARY = src.FaceAnnotation_Landmark_LEFT_EYE_BOTTOM_BOUNDARY FaceAnnotation_Landmark_LEFT_EYE_LEFT_CORNER = src.FaceAnnotation_Landmark_LEFT_EYE_LEFT_CORNER FaceAnnotation_Landmark_LEFT_EYE_PUPIL = src.FaceAnnotation_Landmark_LEFT_EYE_PUPIL FaceAnnotation_Landmark_LEFT_EYE_RIGHT_CORNER = src.FaceAnnotation_Landmark_LEFT_EYE_RIGHT_CORNER FaceAnnotation_Landmark_LEFT_EYE_TOP_BOUNDARY = src.FaceAnnotation_Landmark_LEFT_EYE_TOP_BOUNDARY FaceAnnotation_Landmark_LEFT_OF_LEFT_EYEBROW = src.FaceAnnotation_Landmark_LEFT_OF_LEFT_EYEBROW FaceAnnotation_Landmark_LEFT_OF_RIGHT_EYEBROW = src.FaceAnnotation_Landmark_LEFT_OF_RIGHT_EYEBROW FaceAnnotation_Landmark_LOWER_LIP = src.FaceAnnotation_Landmark_LOWER_LIP FaceAnnotation_Landmark_MIDPOINT_BETWEEN_EYES = src.FaceAnnotation_Landmark_MIDPOINT_BETWEEN_EYES FaceAnnotation_Landmark_MOUTH_CENTER = src.FaceAnnotation_Landmark_MOUTH_CENTER FaceAnnotation_Landmark_MOUTH_LEFT = src.FaceAnnotation_Landmark_MOUTH_LEFT FaceAnnotation_Landmark_MOUTH_RIGHT = src.FaceAnnotation_Landmark_MOUTH_RIGHT FaceAnnotation_Landmark_NOSE_BOTTOM_CENTER = src.FaceAnnotation_Landmark_NOSE_BOTTOM_CENTER FaceAnnotation_Landmark_NOSE_BOTTOM_LEFT = src.FaceAnnotation_Landmark_NOSE_BOTTOM_LEFT FaceAnnotation_Landmark_NOSE_BOTTOM_RIGHT = src.FaceAnnotation_Landmark_NOSE_BOTTOM_RIGHT FaceAnnotation_Landmark_NOSE_TIP = src.FaceAnnotation_Landmark_NOSE_TIP FaceAnnotation_Landmark_RIGHT_CHEEK_CENTER = src.FaceAnnotation_Landmark_RIGHT_CHEEK_CENTER FaceAnnotation_Landmark_RIGHT_EAR_TRAGION = src.FaceAnnotation_Landmark_RIGHT_EAR_TRAGION FaceAnnotation_Landmark_RIGHT_EYE = src.FaceAnnotation_Landmark_RIGHT_EYE FaceAnnotation_Landmark_RIGHT_EYEBROW_UPPER_MIDPOINT = src.FaceAnnotation_Landmark_RIGHT_EYEBROW_UPPER_MIDPOINT FaceAnnotation_Landmark_RIGHT_EYE_BOTTOM_BOUNDARY = src.FaceAnnotation_Landmark_RIGHT_EYE_BOTTOM_BOUNDARY FaceAnnotation_Landmark_RIGHT_EYE_LEFT_CORNER = src.FaceAnnotation_Landmark_RIGHT_EYE_LEFT_CORNER FaceAnnotation_Landmark_RIGHT_EYE_PUPIL = src.FaceAnnotation_Landmark_RIGHT_EYE_PUPIL FaceAnnotation_Landmark_RIGHT_EYE_RIGHT_CORNER = src.FaceAnnotation_Landmark_RIGHT_EYE_RIGHT_CORNER FaceAnnotation_Landmark_RIGHT_EYE_TOP_BOUNDARY = src.FaceAnnotation_Landmark_RIGHT_EYE_TOP_BOUNDARY FaceAnnotation_Landmark_RIGHT_OF_LEFT_EYEBROW = src.FaceAnnotation_Landmark_RIGHT_OF_LEFT_EYEBROW FaceAnnotation_Landmark_RIGHT_OF_RIGHT_EYEBROW = src.FaceAnnotation_Landmark_RIGHT_OF_RIGHT_EYEBROW FaceAnnotation_Landmark_UNKNOWN_LANDMARK = src.FaceAnnotation_Landmark_UNKNOWN_LANDMARK FaceAnnotation_Landmark_UPPER_LIP = src.FaceAnnotation_Landmark_UPPER_LIP Feature_CROP_HINTS = src.Feature_CROP_HINTS Feature_DOCUMENT_TEXT_DETECTION = src.Feature_DOCUMENT_TEXT_DETECTION Feature_FACE_DETECTION = src.Feature_FACE_DETECTION Feature_IMAGE_PROPERTIES = src.Feature_IMAGE_PROPERTIES Feature_LABEL_DETECTION = src.Feature_LABEL_DETECTION Feature_LANDMARK_DETECTION = src.Feature_LANDMARK_DETECTION Feature_LOGO_DETECTION = src.Feature_LOGO_DETECTION Feature_OBJECT_LOCALIZATION = src.Feature_OBJECT_LOCALIZATION Feature_PRODUCT_SEARCH = src.Feature_PRODUCT_SEARCH Feature_SAFE_SEARCH_DETECTION = src.Feature_SAFE_SEARCH_DETECTION Feature_TEXT_DETECTION = src.Feature_TEXT_DETECTION Feature_TYPE_UNSPECIFIED = src.Feature_TYPE_UNSPECIFIED Feature_WEB_DETECTION = src.Feature_WEB_DETECTION Likelihood_LIKELY = src.Likelihood_LIKELY Likelihood_POSSIBLE = src.Likelihood_POSSIBLE Likelihood_UNKNOWN = src.Likelihood_UNKNOWN Likelihood_UNLIKELY = src.Likelihood_UNLIKELY Likelihood_VERY_LIKELY = src.Likelihood_VERY_LIKELY Likelihood_VERY_UNLIKELY = src.Likelihood_VERY_UNLIKELY OperationMetadata_CANCELLED = src.OperationMetadata_CANCELLED OperationMetadata_CREATED = src.OperationMetadata_CREATED OperationMetadata_DONE = src.OperationMetadata_DONE OperationMetadata_RUNNING = src.OperationMetadata_RUNNING OperationMetadata_STATE_UNSPECIFIED = src.OperationMetadata_STATE_UNSPECIFIED TextAnnotation_DetectedBreak_EOL_SURE_SPACE = src.TextAnnotation_DetectedBreak_EOL_SURE_SPACE TextAnnotation_DetectedBreak_HYPHEN = src.TextAnnotation_DetectedBreak_HYPHEN TextAnnotation_DetectedBreak_LINE_BREAK = src.TextAnnotation_DetectedBreak_LINE_BREAK TextAnnotation_DetectedBreak_SPACE = src.TextAnnotation_DetectedBreak_SPACE TextAnnotation_DetectedBreak_SURE_SPACE = src.TextAnnotation_DetectedBreak_SURE_SPACE TextAnnotation_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_name BatchOperationMetadata_State_value = src.BatchOperationMetadata_State_value Block_BlockType_name = src.Block_BlockType_name Block_BlockType_value = src.Block_BlockType_value FaceAnnotation_Landmark_Type_name = src.FaceAnnotation_Landmark_Type_name FaceAnnotation_Landmark_Type_value = src.FaceAnnotation_Landmark_Type_value Feature_Type_name = src.Feature_Type_name Feature_Type_value = src.Feature_Type_value File_google_cloud_vision_v1_geometry_proto = src.File_google_cloud_vision_v1_geometry_proto File_google_cloud_vision_v1_image_annotator_proto = src.File_google_cloud_vision_v1_image_annotator_proto File_google_cloud_vision_v1_product_search_proto = src.File_google_cloud_vision_v1_product_search_proto File_google_cloud_vision_v1_product_search_service_proto = src.File_google_cloud_vision_v1_product_search_service_proto File_google_cloud_vision_v1_text_annotation_proto = src.File_google_cloud_vision_v1_text_annotation_proto File_google_cloud_vision_v1_web_detection_proto = src.File_google_cloud_vision_v1_web_detection_proto Likelihood_name = src.Likelihood_name Likelihood_value = src.Likelihood_value OperationMetadata_State_name = src.OperationMetadata_State_name OperationMetadata_State_value = src.OperationMetadata_State_value TextAnnotation_DetectedBreak_BreakType_name = src.TextAnnotation_DetectedBreak_BreakType_name TextAnnotation_DetectedBreak_BreakType_value = src.TextAnnotation_DetectedBreak_BreakType_value )
Deprecated: Please use vars in: cloud.google.com/go/vision/v2/apiv1/visionpb
Functions ¶
func RegisterImageAnnotatorServer ¶
func RegisterImageAnnotatorServer(s *grpc.Server, srv ImageAnnotatorServer)
Deprecated: Please use funcs in: cloud.google.com/go/vision/v2/apiv1/visionpb
func RegisterProductSearchServer ¶
func RegisterProductSearchServer(s *grpc.Server, srv ProductSearchServer)
Deprecated: Please use funcs in: cloud.google.com/go/vision/v2/apiv1/visionpb
Types ¶
type AddProductToProductSetRequest ¶
type AddProductToProductSetRequest = src.AddProductToProductSetRequest
Request message for the `AddProductToProductSet` method.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type AnnotateFileRequest ¶
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
type AnnotateFileResponse ¶
type AnnotateFileResponse = src.AnnotateFileResponse
Response to a single file annotation request. A file may contain one or more images, which individually have their own responses.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type AnnotateImageRequest ¶
type AnnotateImageRequest = src.AnnotateImageRequest
Request for performing Google Cloud Vision API tasks over a user-provided image, with user-requested features, and with context information.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type AnnotateImageResponse ¶
type AnnotateImageResponse = src.AnnotateImageResponse
Response to an image annotation request.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type AsyncAnnotateFileRequest ¶
type AsyncAnnotateFileRequest = src.AsyncAnnotateFileRequest
An offline file annotation request.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type AsyncAnnotateFileResponse ¶
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
type AsyncBatchAnnotateFilesRequest ¶
type AsyncBatchAnnotateFilesRequest = src.AsyncBatchAnnotateFilesRequest
Multiple async file annotation requests are batched into a single service call.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type AsyncBatchAnnotateFilesResponse ¶
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
type AsyncBatchAnnotateImagesRequest ¶
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
type AsyncBatchAnnotateImagesResponse ¶
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
type BatchAnnotateFilesRequest ¶
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
type BatchAnnotateFilesResponse ¶
type BatchAnnotateFilesResponse = src.BatchAnnotateFilesResponse
A list of file annotation responses.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type BatchAnnotateImagesRequest ¶
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
type BatchAnnotateImagesResponse ¶
type BatchAnnotateImagesResponse = src.BatchAnnotateImagesResponse
Response to a batch image annotation request.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type BatchOperationMetadata ¶
type BatchOperationMetadata = src.BatchOperationMetadata
Metadata for the batch operations such as the current state. This is included 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
type BatchOperationMetadata_State ¶
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
type Block ¶
Logical element on the page.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type Block_BlockType ¶
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
type BoundingPoly ¶
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
type ColorInfo ¶
Color information consists of RGB channels, score, and the fraction of the image that the color occupies in the image.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type CreateProductRequest ¶
type CreateProductRequest = src.CreateProductRequest
Request message for the `CreateProduct` method.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type CreateProductSetRequest ¶
type CreateProductSetRequest = src.CreateProductSetRequest
Request message for the `CreateProductSet` method.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type CreateReferenceImageRequest ¶
type CreateReferenceImageRequest = src.CreateReferenceImageRequest
Request message for the `CreateReferenceImage` method.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type CropHint ¶
Single crop hint that is used to generate a new crop when serving an image.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type CropHintsAnnotation ¶
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
type CropHintsParams ¶
type CropHintsParams = src.CropHintsParams
Parameters for crop hints annotation request.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type DeleteProductRequest ¶
type DeleteProductRequest = src.DeleteProductRequest
Request message for the `DeleteProduct` method.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type DeleteProductSetRequest ¶
type DeleteProductSetRequest = src.DeleteProductSetRequest
Request message for the `DeleteProductSet` method.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type DeleteReferenceImageRequest ¶
type DeleteReferenceImageRequest = src.DeleteReferenceImageRequest
Request message for the `DeleteReferenceImage` method.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type DominantColorsAnnotation ¶
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
type EntityAnnotation ¶
type EntityAnnotation = src.EntityAnnotation
Set of detected entity features.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type FaceAnnotation ¶
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
type FaceAnnotation_Landmark ¶
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
type FaceAnnotation_Landmark_Type ¶
type FaceAnnotation_Landmark_Type = src.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`, typically, is the person's right eye.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type Feature ¶
The type of Google Cloud Vision API detection to perform, and the maximum number of results to return for that type. Multiple `Feature` objects can be specified in the `features` list.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type Feature_Type ¶
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
type GcsDestination ¶
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
type GcsSource ¶
The Google Cloud Storage location where the input will be read from.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type GetProductRequest ¶
type GetProductRequest = src.GetProductRequest
Request message for the `GetProduct` method.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type GetProductSetRequest ¶
type GetProductSetRequest = src.GetProductSetRequest
Request message for the `GetProductSet` method.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type GetReferenceImageRequest ¶
type GetReferenceImageRequest = src.GetReferenceImageRequest
Request message for the `GetReferenceImage` method.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type Image ¶
Client image to perform Google Cloud Vision API tasks over.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type ImageAnnotationContext ¶
type ImageAnnotationContext = src.ImageAnnotationContext
If an image was produced from a file (e.g. a PDF), this message gives information about the source of that image.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type ImageAnnotatorClient ¶
type ImageAnnotatorClient = src.ImageAnnotatorClient
ImageAnnotatorClient is the client API for ImageAnnotator service. For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
func NewImageAnnotatorClient ¶
func NewImageAnnotatorClient(cc grpc.ClientConnInterface) ImageAnnotatorClient
Deprecated: Please use funcs in: cloud.google.com/go/vision/v2/apiv1/visionpb
type ImageAnnotatorServer ¶
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
type ImageContext ¶
type ImageContext = src.ImageContext
Image context and/or feature-specific parameters.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type ImageProperties ¶
type ImageProperties = src.ImageProperties
Stores image properties, such as dominant colors.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type ImageSource ¶
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
type ImportProductSetsGcsSource ¶
type ImportProductSetsGcsSource = src.ImportProductSetsGcsSource
The Google Cloud Storage location for a csv file which preserves a list of ImportProductSetRequests in each line.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type ImportProductSetsInputConfig ¶
type ImportProductSetsInputConfig = src.ImportProductSetsInputConfig
The input content for the `ImportProductSets` method.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type ImportProductSetsInputConfig_GcsSource ¶
type ImportProductSetsInputConfig_GcsSource = src.ImportProductSetsInputConfig_GcsSource
type ImportProductSetsRequest ¶
type ImportProductSetsRequest = src.ImportProductSetsRequest
Request message for the `ImportProductSets` method.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type ImportProductSetsResponse ¶
type ImportProductSetsResponse = src.ImportProductSetsResponse
Response message for the `ImportProductSets` method. This message is returned 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
type InputConfig ¶
type InputConfig = src.InputConfig
The desired input location and metadata.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type LatLongRect ¶
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
type Likelihood ¶
type Likelihood = src.Likelihood
A bucketized representation of likelihood, which is intended to give clients highly stable results across model upgrades.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type ListProductSetsRequest ¶
type ListProductSetsRequest = src.ListProductSetsRequest
Request message for the `ListProductSets` method.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type ListProductSetsResponse ¶
type ListProductSetsResponse = src.ListProductSetsResponse
Response message for the `ListProductSets` method.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type ListProductsInProductSetRequest ¶
type ListProductsInProductSetRequest = src.ListProductsInProductSetRequest
Request message for the `ListProductsInProductSet` method.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type ListProductsInProductSetResponse ¶
type ListProductsInProductSetResponse = src.ListProductsInProductSetResponse
Response message for the `ListProductsInProductSet` method.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type ListProductsRequest ¶
type ListProductsRequest = src.ListProductsRequest
Request message for the `ListProducts` method.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type ListProductsResponse ¶
type ListProductsResponse = src.ListProductsResponse
Response message for the `ListProducts` method.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type ListReferenceImagesRequest ¶
type ListReferenceImagesRequest = src.ListReferenceImagesRequest
Request message for the `ListReferenceImages` method.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type ListReferenceImagesResponse ¶
type ListReferenceImagesResponse = src.ListReferenceImagesResponse
Response message for the `ListReferenceImages` method.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type LocalizedObjectAnnotation ¶
type LocalizedObjectAnnotation = src.LocalizedObjectAnnotation
Set of detected objects with bounding boxes.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type LocationInfo ¶
type LocationInfo = src.LocationInfo
Detected entity location information.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type NormalizedVertex ¶
type NormalizedVertex = src.NormalizedVertex
A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates 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
type OperationMetadata ¶
type OperationMetadata = src.OperationMetadata
Contains metadata for the BatchAnnotateImages operation.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type OperationMetadata_State ¶
type OperationMetadata_State = src.OperationMetadata_State
Batch operation states.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type OutputConfig ¶
type OutputConfig = src.OutputConfig
The desired output location and metadata.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type Page ¶
Detected page from OCR.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type Paragraph ¶
Structural unit of text representing a number of words in certain order.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type 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.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type Product ¶
A Product contains ReferenceImages.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type ProductSearchClient ¶
type ProductSearchClient = src.ProductSearchClient
ProductSearchClient is the client API for ProductSearch service. For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
func NewProductSearchClient ¶
func NewProductSearchClient(cc grpc.ClientConnInterface) ProductSearchClient
Deprecated: Please use funcs in: cloud.google.com/go/vision/v2/apiv1/visionpb
type ProductSearchParams ¶
type ProductSearchParams = src.ProductSearchParams
Parameters for a product search request.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type ProductSearchResults ¶
type ProductSearchResults = src.ProductSearchResults
Results for a product search request.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type ProductSearchResults_GroupedResult ¶
type ProductSearchResults_GroupedResult = src.ProductSearchResults_GroupedResult
Information about the products similar to a single product in a query image.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type ProductSearchResults_ObjectAnnotation ¶
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
type ProductSearchResults_Result ¶
type ProductSearchResults_Result = src.ProductSearchResults_Result
Information about a product.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type ProductSearchServer ¶
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
type ProductSet ¶
type ProductSet = src.ProductSet
A ProductSet contains Products. A ProductSet can contain a maximum of 1 million reference images. If the limit is exceeded, periodic indexing will fail.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type ProductSetPurgeConfig ¶
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
type Product_KeyValue ¶
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
type Property ¶
A `Property` consists of a user-supplied name/value pair.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type PurgeProductsRequest ¶
type PurgeProductsRequest = src.PurgeProductsRequest
Request message for the `PurgeProducts` method.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type PurgeProductsRequest_DeleteOrphanProducts ¶
type PurgeProductsRequest_DeleteOrphanProducts = src.PurgeProductsRequest_DeleteOrphanProducts
type PurgeProductsRequest_ProductSetPurgeConfig ¶
type PurgeProductsRequest_ProductSetPurgeConfig = src.PurgeProductsRequest_ProductSetPurgeConfig
type ReferenceImage ¶
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
type RemoveProductFromProductSetRequest ¶
type RemoveProductFromProductSetRequest = src.RemoveProductFromProductSetRequest
Request message for the `RemoveProductFromProductSet` method.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type SafeSearchAnnotation ¶
type SafeSearchAnnotation = src.SafeSearchAnnotation
Set of features pertaining to the image, computed by computer vision methods over safe-search verticals (for example, adult, spoof, medical, violence).
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type Symbol ¶
A single symbol representation.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type TextAnnotation ¶
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 Each structural component, starting from Page, may further have their own properties. Properties describe detected languages, breaks etc.. Please refer 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
type TextAnnotation_DetectedBreak ¶
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
type TextAnnotation_DetectedBreak_BreakType ¶
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
type TextAnnotation_DetectedLanguage ¶
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
type TextAnnotation_TextProperty ¶
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
type TextDetectionParams ¶
type TextDetectionParams = src.TextDetectionParams
Parameters for text detections. This is used to control TEXT_DETECTION and DOCUMENT_TEXT_DETECTION features.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type UnimplementedImageAnnotatorServer ¶
type UnimplementedImageAnnotatorServer = src.UnimplementedImageAnnotatorServer
UnimplementedImageAnnotatorServer can be embedded to have forward compatible implementations.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type UnimplementedProductSearchServer ¶
type UnimplementedProductSearchServer = src.UnimplementedProductSearchServer
UnimplementedProductSearchServer can be embedded to have forward compatible implementations.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type UpdateProductRequest ¶
type UpdateProductRequest = src.UpdateProductRequest
Request message for the `UpdateProduct` method.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type UpdateProductSetRequest ¶
type UpdateProductSetRequest = src.UpdateProductSetRequest
Request message for the `UpdateProductSet` method.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type Vertex ¶
A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type WebDetection ¶
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
type WebDetectionParams ¶
type WebDetectionParams = src.WebDetectionParams
Parameters for web detection request.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type WebDetection_WebEntity ¶
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
type WebDetection_WebImage ¶
type WebDetection_WebImage = src.WebDetection_WebImage
Metadata for online images.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type WebDetection_WebLabel ¶
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
type WebDetection_WebPage ¶
type WebDetection_WebPage = src.WebDetection_WebPage
Metadata for web pages.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
type Word ¶
A word representation.
Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb
Source Files ¶
alias.go
- Version
- v0.0.0-20250219182151-9fdb1cabc7b2 (latest)
- Published
- Feb 19, 2025
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 1 hour ago –
Tools for package owners.