Versions in this module Expand all Collapse all v2 v2.8.2 May 1, 2024 v2.8.1 Mar 14, 2024 v2.8.0 Feb 12, 2024 v2.7.6 Jan 30, 2024 v2.7.5 Nov 1, 2023 v2.7.4 Oct 26, 2023 v2.7.3 Oct 12, 2023 v2.7.2 Jun 20, 2023 v2.7.1 May 8, 2023 v2.7.0 Mar 15, 2023 v2.6.0 Jan 5, 2023 v2.5.0 Nov 3, 2022 v2.4.0 Oct 25, 2022 v2.3.0 Sep 22, 2022 v2.2.0 Sep 20, 2022 Changes in this version + var Block_BlockType_name = map[int32]string + var Block_BlockType_value = map[string]int32 + var FaceAnnotation_Landmark_Type_name = map[int32]string + var FaceAnnotation_Landmark_Type_value = map[string]int32 + var Feature_Type_name = map[int32]string + var Feature_Type_value = map[string]int32 + var File_google_cloud_vision_v1p1beta1_geometry_proto protoreflect.FileDescriptor + var File_google_cloud_vision_v1p1beta1_image_annotator_proto protoreflect.FileDescriptor + var File_google_cloud_vision_v1p1beta1_text_annotation_proto protoreflect.FileDescriptor + var File_google_cloud_vision_v1p1beta1_web_detection_proto protoreflect.FileDescriptor + var Likelihood_name = map[int32]string + var Likelihood_value = map[string]int32 + var TextAnnotation_DetectedBreak_BreakType_name = map[int32]string + var TextAnnotation_DetectedBreak_BreakType_value = map[string]int32 + func RegisterImageAnnotatorServer(s *grpc.Server, srv ImageAnnotatorServer) + type AnnotateImageRequest struct + Features []*Feature + Image *Image + ImageContext *ImageContext + func (*AnnotateImageRequest) Descriptor() ([]byte, []int) + func (*AnnotateImageRequest) ProtoMessage() + func (x *AnnotateImageRequest) GetFeatures() []*Feature + func (x *AnnotateImageRequest) GetImage() *Image + func (x *AnnotateImageRequest) GetImageContext() *ImageContext + func (x *AnnotateImageRequest) ProtoReflect() protoreflect.Message + func (x *AnnotateImageRequest) Reset() + func (x *AnnotateImageRequest) String() string + type AnnotateImageResponse struct + CropHintsAnnotation *CropHintsAnnotation + Error *status.Status + FaceAnnotations []*FaceAnnotation + FullTextAnnotation *TextAnnotation + ImagePropertiesAnnotation *ImageProperties + LabelAnnotations []*EntityAnnotation + LandmarkAnnotations []*EntityAnnotation + LogoAnnotations []*EntityAnnotation + SafeSearchAnnotation *SafeSearchAnnotation + TextAnnotations []*EntityAnnotation + WebDetection *WebDetection + func (*AnnotateImageResponse) Descriptor() ([]byte, []int) + func (*AnnotateImageResponse) ProtoMessage() + func (x *AnnotateImageResponse) GetCropHintsAnnotation() *CropHintsAnnotation + func (x *AnnotateImageResponse) GetError() *status.Status + func (x *AnnotateImageResponse) GetFaceAnnotations() []*FaceAnnotation + func (x *AnnotateImageResponse) GetFullTextAnnotation() *TextAnnotation + func (x *AnnotateImageResponse) GetImagePropertiesAnnotation() *ImageProperties + func (x *AnnotateImageResponse) GetLabelAnnotations() []*EntityAnnotation + func (x *AnnotateImageResponse) GetLandmarkAnnotations() []*EntityAnnotation + func (x *AnnotateImageResponse) GetLogoAnnotations() []*EntityAnnotation + func (x *AnnotateImageResponse) GetSafeSearchAnnotation() *SafeSearchAnnotation + func (x *AnnotateImageResponse) GetTextAnnotations() []*EntityAnnotation + func (x *AnnotateImageResponse) GetWebDetection() *WebDetection + func (x *AnnotateImageResponse) ProtoReflect() protoreflect.Message + func (x *AnnotateImageResponse) Reset() + func (x *AnnotateImageResponse) String() string + type BatchAnnotateImagesRequest struct + Requests []*AnnotateImageRequest + func (*BatchAnnotateImagesRequest) Descriptor() ([]byte, []int) + func (*BatchAnnotateImagesRequest) ProtoMessage() + func (x *BatchAnnotateImagesRequest) GetRequests() []*AnnotateImageRequest + func (x *BatchAnnotateImagesRequest) ProtoReflect() protoreflect.Message + func (x *BatchAnnotateImagesRequest) Reset() + func (x *BatchAnnotateImagesRequest) String() string + type BatchAnnotateImagesResponse struct + Responses []*AnnotateImageResponse + func (*BatchAnnotateImagesResponse) Descriptor() ([]byte, []int) + func (*BatchAnnotateImagesResponse) ProtoMessage() + func (x *BatchAnnotateImagesResponse) GetResponses() []*AnnotateImageResponse + func (x *BatchAnnotateImagesResponse) ProtoReflect() protoreflect.Message + func (x *BatchAnnotateImagesResponse) Reset() + func (x *BatchAnnotateImagesResponse) String() string + type Block struct + BlockType Block_BlockType + BoundingBox *BoundingPoly + Confidence float32 + Paragraphs []*Paragraph + Property *TextAnnotation_TextProperty + func (*Block) Descriptor() ([]byte, []int) + func (*Block) ProtoMessage() + func (x *Block) GetBlockType() Block_BlockType + func (x *Block) GetBoundingBox() *BoundingPoly + func (x *Block) GetConfidence() float32 + func (x *Block) GetParagraphs() []*Paragraph + func (x *Block) GetProperty() *TextAnnotation_TextProperty + func (x *Block) ProtoReflect() protoreflect.Message + func (x *Block) Reset() + func (x *Block) String() string + type Block_BlockType int32 + const Block_BARCODE + const Block_PICTURE + const Block_RULER + const Block_TABLE + const Block_TEXT + const Block_UNKNOWN + func (Block_BlockType) Descriptor() protoreflect.EnumDescriptor + func (Block_BlockType) EnumDescriptor() ([]byte, []int) + func (Block_BlockType) Type() protoreflect.EnumType + func (x Block_BlockType) Enum() *Block_BlockType + func (x Block_BlockType) Number() protoreflect.EnumNumber + func (x Block_BlockType) String() string + type BoundingPoly struct + Vertices []*Vertex + func (*BoundingPoly) Descriptor() ([]byte, []int) + func (*BoundingPoly) ProtoMessage() + func (x *BoundingPoly) GetVertices() []*Vertex + func (x *BoundingPoly) ProtoReflect() protoreflect.Message + func (x *BoundingPoly) Reset() + func (x *BoundingPoly) String() string + type ColorInfo struct + Color *color.Color + PixelFraction float32 + Score float32 + func (*ColorInfo) Descriptor() ([]byte, []int) + func (*ColorInfo) ProtoMessage() + func (x *ColorInfo) GetColor() *color.Color + func (x *ColorInfo) GetPixelFraction() float32 + func (x *ColorInfo) GetScore() float32 + func (x *ColorInfo) ProtoReflect() protoreflect.Message + func (x *ColorInfo) Reset() + func (x *ColorInfo) String() string + type CropHint struct + BoundingPoly *BoundingPoly + Confidence float32 + ImportanceFraction float32 + func (*CropHint) Descriptor() ([]byte, []int) + func (*CropHint) ProtoMessage() + func (x *CropHint) GetBoundingPoly() *BoundingPoly + func (x *CropHint) GetConfidence() float32 + func (x *CropHint) GetImportanceFraction() float32 + func (x *CropHint) ProtoReflect() protoreflect.Message + func (x *CropHint) Reset() + func (x *CropHint) String() string + type CropHintsAnnotation struct + CropHints []*CropHint + func (*CropHintsAnnotation) Descriptor() ([]byte, []int) + func (*CropHintsAnnotation) ProtoMessage() + func (x *CropHintsAnnotation) GetCropHints() []*CropHint + func (x *CropHintsAnnotation) ProtoReflect() protoreflect.Message + func (x *CropHintsAnnotation) Reset() + func (x *CropHintsAnnotation) String() string + type CropHintsParams struct + AspectRatios []float32 + func (*CropHintsParams) Descriptor() ([]byte, []int) + func (*CropHintsParams) ProtoMessage() + func (x *CropHintsParams) GetAspectRatios() []float32 + func (x *CropHintsParams) ProtoReflect() protoreflect.Message + func (x *CropHintsParams) Reset() + func (x *CropHintsParams) String() string + type DominantColorsAnnotation struct + Colors []*ColorInfo + func (*DominantColorsAnnotation) Descriptor() ([]byte, []int) + func (*DominantColorsAnnotation) ProtoMessage() + func (x *DominantColorsAnnotation) GetColors() []*ColorInfo + func (x *DominantColorsAnnotation) ProtoReflect() protoreflect.Message + func (x *DominantColorsAnnotation) Reset() + func (x *DominantColorsAnnotation) String() string + type EntityAnnotation struct + BoundingPoly *BoundingPoly + Confidence float32 + Description string + Locale string + Locations []*LocationInfo + Mid string + Properties []*Property + Score float32 + Topicality float32 + func (*EntityAnnotation) Descriptor() ([]byte, []int) + func (*EntityAnnotation) ProtoMessage() + func (x *EntityAnnotation) GetBoundingPoly() *BoundingPoly + func (x *EntityAnnotation) GetConfidence() float32 + func (x *EntityAnnotation) GetDescription() string + func (x *EntityAnnotation) GetLocale() string + func (x *EntityAnnotation) GetLocations() []*LocationInfo + func (x *EntityAnnotation) GetMid() string + func (x *EntityAnnotation) GetProperties() []*Property + func (x *EntityAnnotation) GetScore() float32 + func (x *EntityAnnotation) GetTopicality() float32 + func (x *EntityAnnotation) ProtoReflect() protoreflect.Message + func (x *EntityAnnotation) Reset() + func (x *EntityAnnotation) String() string + type FaceAnnotation struct + AngerLikelihood Likelihood + BlurredLikelihood Likelihood + BoundingPoly *BoundingPoly + DetectionConfidence float32 + FdBoundingPoly *BoundingPoly + HeadwearLikelihood Likelihood + JoyLikelihood Likelihood + LandmarkingConfidence float32 + Landmarks []*FaceAnnotation_Landmark + PanAngle float32 + RollAngle float32 + SorrowLikelihood Likelihood + SurpriseLikelihood Likelihood + TiltAngle float32 + UnderExposedLikelihood Likelihood + func (*FaceAnnotation) Descriptor() ([]byte, []int) + func (*FaceAnnotation) ProtoMessage() + func (x *FaceAnnotation) GetAngerLikelihood() Likelihood + func (x *FaceAnnotation) GetBlurredLikelihood() Likelihood + func (x *FaceAnnotation) GetBoundingPoly() *BoundingPoly + func (x *FaceAnnotation) GetDetectionConfidence() float32 + func (x *FaceAnnotation) GetFdBoundingPoly() *BoundingPoly + func (x *FaceAnnotation) GetHeadwearLikelihood() Likelihood + func (x *FaceAnnotation) GetJoyLikelihood() Likelihood + func (x *FaceAnnotation) GetLandmarkingConfidence() float32 + func (x *FaceAnnotation) GetLandmarks() []*FaceAnnotation_Landmark + func (x *FaceAnnotation) GetPanAngle() float32 + func (x *FaceAnnotation) GetRollAngle() float32 + func (x *FaceAnnotation) GetSorrowLikelihood() Likelihood + func (x *FaceAnnotation) GetSurpriseLikelihood() Likelihood + func (x *FaceAnnotation) GetTiltAngle() float32 + func (x *FaceAnnotation) GetUnderExposedLikelihood() Likelihood + func (x *FaceAnnotation) ProtoReflect() protoreflect.Message + func (x *FaceAnnotation) Reset() + func (x *FaceAnnotation) String() string + type FaceAnnotation_Landmark struct + Position *Position + Type FaceAnnotation_Landmark_Type + func (*FaceAnnotation_Landmark) Descriptor() ([]byte, []int) + func (*FaceAnnotation_Landmark) ProtoMessage() + func (x *FaceAnnotation_Landmark) GetPosition() *Position + func (x *FaceAnnotation_Landmark) GetType() FaceAnnotation_Landmark_Type + func (x *FaceAnnotation_Landmark) ProtoReflect() protoreflect.Message + func (x *FaceAnnotation_Landmark) Reset() + func (x *FaceAnnotation_Landmark) String() string + type FaceAnnotation_Landmark_Type int32 + const FaceAnnotation_Landmark_CHIN_GNATHION + const FaceAnnotation_Landmark_CHIN_LEFT_GONION + const FaceAnnotation_Landmark_CHIN_RIGHT_GONION + const FaceAnnotation_Landmark_FOREHEAD_GLABELLA + const FaceAnnotation_Landmark_LEFT_EAR_TRAGION + const FaceAnnotation_Landmark_LEFT_EYE + const FaceAnnotation_Landmark_LEFT_EYEBROW_UPPER_MIDPOINT + const FaceAnnotation_Landmark_LEFT_EYE_BOTTOM_BOUNDARY + const FaceAnnotation_Landmark_LEFT_EYE_LEFT_CORNER + const FaceAnnotation_Landmark_LEFT_EYE_PUPIL + const FaceAnnotation_Landmark_LEFT_EYE_RIGHT_CORNER + const FaceAnnotation_Landmark_LEFT_EYE_TOP_BOUNDARY + const FaceAnnotation_Landmark_LEFT_OF_LEFT_EYEBROW + const FaceAnnotation_Landmark_LEFT_OF_RIGHT_EYEBROW + const FaceAnnotation_Landmark_LOWER_LIP + const FaceAnnotation_Landmark_MIDPOINT_BETWEEN_EYES + const FaceAnnotation_Landmark_MOUTH_CENTER + const FaceAnnotation_Landmark_MOUTH_LEFT + const FaceAnnotation_Landmark_MOUTH_RIGHT + const FaceAnnotation_Landmark_NOSE_BOTTOM_CENTER + const FaceAnnotation_Landmark_NOSE_BOTTOM_LEFT + const FaceAnnotation_Landmark_NOSE_BOTTOM_RIGHT + const FaceAnnotation_Landmark_NOSE_TIP + const FaceAnnotation_Landmark_RIGHT_EAR_TRAGION + const FaceAnnotation_Landmark_RIGHT_EYE + const FaceAnnotation_Landmark_RIGHT_EYEBROW_UPPER_MIDPOINT + const FaceAnnotation_Landmark_RIGHT_EYE_BOTTOM_BOUNDARY + const FaceAnnotation_Landmark_RIGHT_EYE_LEFT_CORNER + const FaceAnnotation_Landmark_RIGHT_EYE_PUPIL + const FaceAnnotation_Landmark_RIGHT_EYE_RIGHT_CORNER + const FaceAnnotation_Landmark_RIGHT_EYE_TOP_BOUNDARY + const FaceAnnotation_Landmark_RIGHT_OF_LEFT_EYEBROW + const FaceAnnotation_Landmark_RIGHT_OF_RIGHT_EYEBROW + const FaceAnnotation_Landmark_UNKNOWN_LANDMARK + const FaceAnnotation_Landmark_UPPER_LIP + func (FaceAnnotation_Landmark_Type) Descriptor() protoreflect.EnumDescriptor + func (FaceAnnotation_Landmark_Type) EnumDescriptor() ([]byte, []int) + func (FaceAnnotation_Landmark_Type) Type() protoreflect.EnumType + func (x FaceAnnotation_Landmark_Type) Enum() *FaceAnnotation_Landmark_Type + func (x FaceAnnotation_Landmark_Type) Number() protoreflect.EnumNumber + func (x FaceAnnotation_Landmark_Type) String() string + type Feature struct + MaxResults int32 + Model string + Type Feature_Type + func (*Feature) Descriptor() ([]byte, []int) + func (*Feature) ProtoMessage() + func (x *Feature) GetMaxResults() int32 + func (x *Feature) GetModel() string + func (x *Feature) GetType() Feature_Type + func (x *Feature) ProtoReflect() protoreflect.Message + func (x *Feature) Reset() + func (x *Feature) String() string + type Feature_Type int32 + const Feature_CROP_HINTS + const Feature_DOCUMENT_TEXT_DETECTION + const Feature_FACE_DETECTION + const Feature_IMAGE_PROPERTIES + const Feature_LABEL_DETECTION + const Feature_LANDMARK_DETECTION + const Feature_LOGO_DETECTION + const Feature_SAFE_SEARCH_DETECTION + const Feature_TEXT_DETECTION + const Feature_TYPE_UNSPECIFIED + const Feature_WEB_DETECTION + func (Feature_Type) Descriptor() protoreflect.EnumDescriptor + func (Feature_Type) EnumDescriptor() ([]byte, []int) + func (Feature_Type) Type() protoreflect.EnumType + func (x Feature_Type) Enum() *Feature_Type + func (x Feature_Type) Number() protoreflect.EnumNumber + func (x Feature_Type) String() string + type Image struct + Content []byte + Source *ImageSource + func (*Image) Descriptor() ([]byte, []int) + func (*Image) ProtoMessage() + func (x *Image) GetContent() []byte + func (x *Image) GetSource() *ImageSource + func (x *Image) ProtoReflect() protoreflect.Message + func (x *Image) Reset() + func (x *Image) String() string + type ImageAnnotatorClient interface + BatchAnnotateImages func(ctx context.Context, in *BatchAnnotateImagesRequest, opts ...grpc.CallOption) (*BatchAnnotateImagesResponse, error) + func NewImageAnnotatorClient(cc grpc.ClientConnInterface) ImageAnnotatorClient + type ImageAnnotatorServer interface + BatchAnnotateImages func(context.Context, *BatchAnnotateImagesRequest) (*BatchAnnotateImagesResponse, error) + type ImageContext struct + CropHintsParams *CropHintsParams + LanguageHints []string + LatLongRect *LatLongRect + TextDetectionParams *TextDetectionParams + WebDetectionParams *WebDetectionParams + func (*ImageContext) Descriptor() ([]byte, []int) + func (*ImageContext) ProtoMessage() + func (x *ImageContext) GetCropHintsParams() *CropHintsParams + func (x *ImageContext) GetLanguageHints() []string + func (x *ImageContext) GetLatLongRect() *LatLongRect + func (x *ImageContext) GetTextDetectionParams() *TextDetectionParams + func (x *ImageContext) GetWebDetectionParams() *WebDetectionParams + func (x *ImageContext) ProtoReflect() protoreflect.Message + func (x *ImageContext) Reset() + func (x *ImageContext) String() string + type ImageProperties struct + DominantColors *DominantColorsAnnotation + func (*ImageProperties) Descriptor() ([]byte, []int) + func (*ImageProperties) ProtoMessage() + func (x *ImageProperties) GetDominantColors() *DominantColorsAnnotation + func (x *ImageProperties) ProtoReflect() protoreflect.Message + func (x *ImageProperties) Reset() + func (x *ImageProperties) String() string + type ImageSource struct + GcsImageUri string + ImageUri string + func (*ImageSource) Descriptor() ([]byte, []int) + func (*ImageSource) ProtoMessage() + func (x *ImageSource) GetGcsImageUri() string + func (x *ImageSource) GetImageUri() string + func (x *ImageSource) ProtoReflect() protoreflect.Message + func (x *ImageSource) Reset() + func (x *ImageSource) String() string + type LatLongRect struct + MaxLatLng *latlng.LatLng + MinLatLng *latlng.LatLng + func (*LatLongRect) Descriptor() ([]byte, []int) + func (*LatLongRect) ProtoMessage() + func (x *LatLongRect) GetMaxLatLng() *latlng.LatLng + func (x *LatLongRect) GetMinLatLng() *latlng.LatLng + func (x *LatLongRect) ProtoReflect() protoreflect.Message + func (x *LatLongRect) Reset() + func (x *LatLongRect) String() string + type Likelihood int32 + const Likelihood_LIKELY + const Likelihood_POSSIBLE + const Likelihood_UNKNOWN + const Likelihood_UNLIKELY + const Likelihood_VERY_LIKELY + const Likelihood_VERY_UNLIKELY + func (Likelihood) Descriptor() protoreflect.EnumDescriptor + func (Likelihood) EnumDescriptor() ([]byte, []int) + func (Likelihood) Type() protoreflect.EnumType + func (x Likelihood) Enum() *Likelihood + func (x Likelihood) Number() protoreflect.EnumNumber + func (x Likelihood) String() string + type LocationInfo struct + LatLng *latlng.LatLng + func (*LocationInfo) Descriptor() ([]byte, []int) + func (*LocationInfo) ProtoMessage() + func (x *LocationInfo) GetLatLng() *latlng.LatLng + func (x *LocationInfo) ProtoReflect() protoreflect.Message + func (x *LocationInfo) Reset() + func (x *LocationInfo) String() string + type Page struct + Blocks []*Block + Confidence float32 + Height int32 + Property *TextAnnotation_TextProperty + Width int32 + func (*Page) Descriptor() ([]byte, []int) + func (*Page) ProtoMessage() + func (x *Page) GetBlocks() []*Block + func (x *Page) GetConfidence() float32 + func (x *Page) GetHeight() int32 + func (x *Page) GetProperty() *TextAnnotation_TextProperty + func (x *Page) GetWidth() int32 + func (x *Page) ProtoReflect() protoreflect.Message + func (x *Page) Reset() + func (x *Page) String() string + type Paragraph struct + BoundingBox *BoundingPoly + Confidence float32 + Property *TextAnnotation_TextProperty + Words []*Word + func (*Paragraph) Descriptor() ([]byte, []int) + func (*Paragraph) ProtoMessage() + func (x *Paragraph) GetBoundingBox() *BoundingPoly + func (x *Paragraph) GetConfidence() float32 + func (x *Paragraph) GetProperty() *TextAnnotation_TextProperty + func (x *Paragraph) GetWords() []*Word + func (x *Paragraph) ProtoReflect() protoreflect.Message + func (x *Paragraph) Reset() + func (x *Paragraph) String() string + type Position struct + X float32 + Y float32 + Z float32 + func (*Position) Descriptor() ([]byte, []int) + func (*Position) ProtoMessage() + func (x *Position) GetX() float32 + func (x *Position) GetY() float32 + func (x *Position) GetZ() float32 + func (x *Position) ProtoReflect() protoreflect.Message + func (x *Position) Reset() + func (x *Position) String() string + type Property struct + Name string + Uint64Value uint64 + Value string + func (*Property) Descriptor() ([]byte, []int) + func (*Property) ProtoMessage() + func (x *Property) GetName() string + func (x *Property) GetUint64Value() uint64 + func (x *Property) GetValue() string + func (x *Property) ProtoReflect() protoreflect.Message + func (x *Property) Reset() + func (x *Property) String() string + type SafeSearchAnnotation struct + Adult Likelihood + Medical Likelihood + Racy Likelihood + Spoof Likelihood + Violence Likelihood + func (*SafeSearchAnnotation) Descriptor() ([]byte, []int) + func (*SafeSearchAnnotation) ProtoMessage() + func (x *SafeSearchAnnotation) GetAdult() Likelihood + func (x *SafeSearchAnnotation) GetMedical() Likelihood + func (x *SafeSearchAnnotation) GetRacy() Likelihood + func (x *SafeSearchAnnotation) GetSpoof() Likelihood + func (x *SafeSearchAnnotation) GetViolence() Likelihood + func (x *SafeSearchAnnotation) ProtoReflect() protoreflect.Message + func (x *SafeSearchAnnotation) Reset() + func (x *SafeSearchAnnotation) String() string + type Symbol struct + BoundingBox *BoundingPoly + Confidence float32 + Property *TextAnnotation_TextProperty + Text string + func (*Symbol) Descriptor() ([]byte, []int) + func (*Symbol) ProtoMessage() + func (x *Symbol) GetBoundingBox() *BoundingPoly + func (x *Symbol) GetConfidence() float32 + func (x *Symbol) GetProperty() *TextAnnotation_TextProperty + func (x *Symbol) GetText() string + func (x *Symbol) ProtoReflect() protoreflect.Message + func (x *Symbol) Reset() + func (x *Symbol) String() string + type TextAnnotation struct + Pages []*Page + Text string + func (*TextAnnotation) Descriptor() ([]byte, []int) + func (*TextAnnotation) ProtoMessage() + func (x *TextAnnotation) GetPages() []*Page + func (x *TextAnnotation) GetText() string + func (x *TextAnnotation) ProtoReflect() protoreflect.Message + func (x *TextAnnotation) Reset() + func (x *TextAnnotation) String() string + type TextAnnotation_DetectedBreak struct + IsPrefix bool + Type TextAnnotation_DetectedBreak_BreakType + func (*TextAnnotation_DetectedBreak) Descriptor() ([]byte, []int) + func (*TextAnnotation_DetectedBreak) ProtoMessage() + func (x *TextAnnotation_DetectedBreak) GetIsPrefix() bool + func (x *TextAnnotation_DetectedBreak) GetType() TextAnnotation_DetectedBreak_BreakType + func (x *TextAnnotation_DetectedBreak) ProtoReflect() protoreflect.Message + func (x *TextAnnotation_DetectedBreak) Reset() + func (x *TextAnnotation_DetectedBreak) String() string + type TextAnnotation_DetectedBreak_BreakType int32 + const TextAnnotation_DetectedBreak_EOL_SURE_SPACE + const TextAnnotation_DetectedBreak_HYPHEN + const TextAnnotation_DetectedBreak_LINE_BREAK + const TextAnnotation_DetectedBreak_SPACE + const TextAnnotation_DetectedBreak_SURE_SPACE + const TextAnnotation_DetectedBreak_UNKNOWN + func (TextAnnotation_DetectedBreak_BreakType) Descriptor() protoreflect.EnumDescriptor + func (TextAnnotation_DetectedBreak_BreakType) EnumDescriptor() ([]byte, []int) + func (TextAnnotation_DetectedBreak_BreakType) Type() protoreflect.EnumType + func (x TextAnnotation_DetectedBreak_BreakType) Enum() *TextAnnotation_DetectedBreak_BreakType + func (x TextAnnotation_DetectedBreak_BreakType) Number() protoreflect.EnumNumber + func (x TextAnnotation_DetectedBreak_BreakType) String() string + type TextAnnotation_DetectedLanguage struct + Confidence float32 + LanguageCode string + func (*TextAnnotation_DetectedLanguage) Descriptor() ([]byte, []int) + func (*TextAnnotation_DetectedLanguage) ProtoMessage() + func (x *TextAnnotation_DetectedLanguage) GetConfidence() float32 + func (x *TextAnnotation_DetectedLanguage) GetLanguageCode() string + func (x *TextAnnotation_DetectedLanguage) ProtoReflect() protoreflect.Message + func (x *TextAnnotation_DetectedLanguage) Reset() + func (x *TextAnnotation_DetectedLanguage) String() string + type TextAnnotation_TextProperty struct + DetectedBreak *TextAnnotation_DetectedBreak + DetectedLanguages []*TextAnnotation_DetectedLanguage + func (*TextAnnotation_TextProperty) Descriptor() ([]byte, []int) + func (*TextAnnotation_TextProperty) ProtoMessage() + func (x *TextAnnotation_TextProperty) GetDetectedBreak() *TextAnnotation_DetectedBreak + func (x *TextAnnotation_TextProperty) GetDetectedLanguages() []*TextAnnotation_DetectedLanguage + func (x *TextAnnotation_TextProperty) ProtoReflect() protoreflect.Message + func (x *TextAnnotation_TextProperty) Reset() + func (x *TextAnnotation_TextProperty) String() string + type TextDetectionParams struct + AdvancedOcrOptions []string + EnableTextDetectionConfidenceScore bool + func (*TextDetectionParams) Descriptor() ([]byte, []int) + func (*TextDetectionParams) ProtoMessage() + func (x *TextDetectionParams) GetAdvancedOcrOptions() []string + func (x *TextDetectionParams) GetEnableTextDetectionConfidenceScore() bool + func (x *TextDetectionParams) ProtoReflect() protoreflect.Message + func (x *TextDetectionParams) Reset() + func (x *TextDetectionParams) String() string + type UnimplementedImageAnnotatorServer struct + func (*UnimplementedImageAnnotatorServer) BatchAnnotateImages(context.Context, *BatchAnnotateImagesRequest) (*BatchAnnotateImagesResponse, error) + type Vertex struct + X int32 + Y int32 + func (*Vertex) Descriptor() ([]byte, []int) + func (*Vertex) ProtoMessage() + func (x *Vertex) GetX() int32 + func (x *Vertex) GetY() int32 + func (x *Vertex) ProtoReflect() protoreflect.Message + func (x *Vertex) Reset() + func (x *Vertex) String() string + type WebDetection struct + BestGuessLabels []*WebDetection_WebLabel + FullMatchingImages []*WebDetection_WebImage + PagesWithMatchingImages []*WebDetection_WebPage + PartialMatchingImages []*WebDetection_WebImage + VisuallySimilarImages []*WebDetection_WebImage + WebEntities []*WebDetection_WebEntity + func (*WebDetection) Descriptor() ([]byte, []int) + func (*WebDetection) ProtoMessage() + func (x *WebDetection) GetBestGuessLabels() []*WebDetection_WebLabel + func (x *WebDetection) GetFullMatchingImages() []*WebDetection_WebImage + func (x *WebDetection) GetPagesWithMatchingImages() []*WebDetection_WebPage + func (x *WebDetection) GetPartialMatchingImages() []*WebDetection_WebImage + func (x *WebDetection) GetVisuallySimilarImages() []*WebDetection_WebImage + func (x *WebDetection) GetWebEntities() []*WebDetection_WebEntity + func (x *WebDetection) ProtoReflect() protoreflect.Message + func (x *WebDetection) Reset() + func (x *WebDetection) String() string + type WebDetectionParams struct + IncludeGeoResults bool + func (*WebDetectionParams) Descriptor() ([]byte, []int) + func (*WebDetectionParams) ProtoMessage() + func (x *WebDetectionParams) GetIncludeGeoResults() bool + func (x *WebDetectionParams) ProtoReflect() protoreflect.Message + func (x *WebDetectionParams) Reset() + func (x *WebDetectionParams) String() string + type WebDetection_WebEntity struct + Description string + EntityId string + Score float32 + func (*WebDetection_WebEntity) Descriptor() ([]byte, []int) + func (*WebDetection_WebEntity) ProtoMessage() + func (x *WebDetection_WebEntity) GetDescription() string + func (x *WebDetection_WebEntity) GetEntityId() string + func (x *WebDetection_WebEntity) GetScore() float32 + func (x *WebDetection_WebEntity) ProtoReflect() protoreflect.Message + func (x *WebDetection_WebEntity) Reset() + func (x *WebDetection_WebEntity) String() string + type WebDetection_WebImage struct + Score float32 + Url string + func (*WebDetection_WebImage) Descriptor() ([]byte, []int) + func (*WebDetection_WebImage) ProtoMessage() + func (x *WebDetection_WebImage) GetScore() float32 + func (x *WebDetection_WebImage) GetUrl() string + func (x *WebDetection_WebImage) ProtoReflect() protoreflect.Message + func (x *WebDetection_WebImage) Reset() + func (x *WebDetection_WebImage) String() string + type WebDetection_WebLabel struct + Label string + LanguageCode string + func (*WebDetection_WebLabel) Descriptor() ([]byte, []int) + func (*WebDetection_WebLabel) ProtoMessage() + func (x *WebDetection_WebLabel) GetLabel() string + func (x *WebDetection_WebLabel) GetLanguageCode() string + func (x *WebDetection_WebLabel) ProtoReflect() protoreflect.Message + func (x *WebDetection_WebLabel) Reset() + func (x *WebDetection_WebLabel) String() string + type WebDetection_WebPage struct + FullMatchingImages []*WebDetection_WebImage + PageTitle string + PartialMatchingImages []*WebDetection_WebImage + Score float32 + Url string + func (*WebDetection_WebPage) Descriptor() ([]byte, []int) + func (*WebDetection_WebPage) ProtoMessage() + func (x *WebDetection_WebPage) GetFullMatchingImages() []*WebDetection_WebImage + func (x *WebDetection_WebPage) GetPageTitle() string + func (x *WebDetection_WebPage) GetPartialMatchingImages() []*WebDetection_WebImage + func (x *WebDetection_WebPage) GetScore() float32 + func (x *WebDetection_WebPage) GetUrl() string + func (x *WebDetection_WebPage) ProtoReflect() protoreflect.Message + func (x *WebDetection_WebPage) Reset() + func (x *WebDetection_WebPage) String() string + type Word struct + BoundingBox *BoundingPoly + Confidence float32 + Property *TextAnnotation_TextProperty + Symbols []*Symbol + func (*Word) Descriptor() ([]byte, []int) + func (*Word) ProtoMessage() + func (x *Word) GetBoundingBox() *BoundingPoly + func (x *Word) GetConfidence() float32 + func (x *Word) GetProperty() *TextAnnotation_TextProperty + func (x *Word) GetSymbols() []*Symbol + func (x *Word) ProtoReflect() protoreflect.Message + func (x *Word) Reset() + func (x *Word) String() string