Versions in this module Expand all Collapse all v28 v28.1.0 Apr 29, 2019 v28.0.0 Apr 26, 2019 Changes in this version + func UserAgent() string + func Version() string + type AdultInfo struct + AdultScore *float64 + IsAdultContent *bool + IsRacyContent *bool + RacyScore *float64 + type AreaOfInterestResult struct + AreaOfInterest *BoundingRect + Metadata *ImageMetadata + RequestID *string + type BaseClient struct + Endpoint string + func New(endpoint string) BaseClient + func NewWithoutDefaults(endpoint string) BaseClient + func (client BaseClient) AnalyzeImage(ctx context.Context, imageURL ImageURL, visualFeatures []VisualFeatureTypes, ...) (result ImageAnalysis, err error) + func (client BaseClient) AnalyzeImageByDomain(ctx context.Context, model string, imageURL ImageURL, language string) (result DomainModelResults, err error) + func (client BaseClient) AnalyzeImageByDomainInStream(ctx context.Context, model string, imageParameter io.ReadCloser, ...) (result DomainModelResults, err error) + func (client BaseClient) AnalyzeImageByDomainInStreamPreparer(ctx context.Context, model string, imageParameter io.ReadCloser, ...) (*http.Request, error) + func (client BaseClient) AnalyzeImageByDomainInStreamResponder(resp *http.Response) (result DomainModelResults, err error) + func (client BaseClient) AnalyzeImageByDomainInStreamSender(req *http.Request) (*http.Response, error) + func (client BaseClient) AnalyzeImageByDomainPreparer(ctx context.Context, model string, imageURL ImageURL, language string) (*http.Request, error) + func (client BaseClient) AnalyzeImageByDomainResponder(resp *http.Response) (result DomainModelResults, err error) + func (client BaseClient) AnalyzeImageByDomainSender(req *http.Request) (*http.Response, error) + func (client BaseClient) AnalyzeImageInStream(ctx context.Context, imageParameter io.ReadCloser, ...) (result ImageAnalysis, err error) + func (client BaseClient) AnalyzeImageInStreamPreparer(ctx context.Context, imageParameter io.ReadCloser, ...) (*http.Request, error) + func (client BaseClient) AnalyzeImageInStreamResponder(resp *http.Response) (result ImageAnalysis, err error) + func (client BaseClient) AnalyzeImageInStreamSender(req *http.Request) (*http.Response, error) + func (client BaseClient) AnalyzeImagePreparer(ctx context.Context, imageURL ImageURL, visualFeatures []VisualFeatureTypes, ...) (*http.Request, error) + func (client BaseClient) AnalyzeImageResponder(resp *http.Response) (result ImageAnalysis, err error) + func (client BaseClient) AnalyzeImageSender(req *http.Request) (*http.Response, error) + func (client BaseClient) BatchReadFile(ctx context.Context, imageURL ImageURL, mode TextRecognitionMode) (result autorest.Response, err error) + func (client BaseClient) BatchReadFileInStream(ctx context.Context, imageParameter io.ReadCloser, mode TextRecognitionMode) (result autorest.Response, err error) + func (client BaseClient) BatchReadFileInStreamPreparer(ctx context.Context, imageParameter io.ReadCloser, mode TextRecognitionMode) (*http.Request, error) + func (client BaseClient) BatchReadFileInStreamResponder(resp *http.Response) (result autorest.Response, err error) + func (client BaseClient) BatchReadFileInStreamSender(req *http.Request) (*http.Response, error) + func (client BaseClient) BatchReadFilePreparer(ctx context.Context, imageURL ImageURL, mode TextRecognitionMode) (*http.Request, error) + func (client BaseClient) BatchReadFileResponder(resp *http.Response) (result autorest.Response, err error) + func (client BaseClient) BatchReadFileSender(req *http.Request) (*http.Response, error) + func (client BaseClient) DescribeImage(ctx context.Context, imageURL ImageURL, maxCandidates *int32, language string) (result ImageDescription, err error) + func (client BaseClient) DescribeImageInStream(ctx context.Context, imageParameter io.ReadCloser, maxCandidates *int32, ...) (result ImageDescription, err error) + func (client BaseClient) DescribeImageInStreamPreparer(ctx context.Context, imageParameter io.ReadCloser, maxCandidates *int32, ...) (*http.Request, error) + func (client BaseClient) DescribeImageInStreamResponder(resp *http.Response) (result ImageDescription, err error) + func (client BaseClient) DescribeImageInStreamSender(req *http.Request) (*http.Response, error) + func (client BaseClient) DescribeImagePreparer(ctx context.Context, imageURL ImageURL, maxCandidates *int32, language string) (*http.Request, error) + func (client BaseClient) DescribeImageResponder(resp *http.Response) (result ImageDescription, err error) + func (client BaseClient) DescribeImageSender(req *http.Request) (*http.Response, error) + func (client BaseClient) DetectObjects(ctx context.Context, imageURL ImageURL) (result DetectResult, err error) + func (client BaseClient) DetectObjectsInStream(ctx context.Context, imageParameter io.ReadCloser) (result DetectResult, err error) + func (client BaseClient) DetectObjectsInStreamPreparer(ctx context.Context, imageParameter io.ReadCloser) (*http.Request, error) + func (client BaseClient) DetectObjectsInStreamResponder(resp *http.Response) (result DetectResult, err error) + func (client BaseClient) DetectObjectsInStreamSender(req *http.Request) (*http.Response, error) + func (client BaseClient) DetectObjectsPreparer(ctx context.Context, imageURL ImageURL) (*http.Request, error) + func (client BaseClient) DetectObjectsResponder(resp *http.Response) (result DetectResult, err error) + func (client BaseClient) DetectObjectsSender(req *http.Request) (*http.Response, error) + func (client BaseClient) GenerateThumbnail(ctx context.Context, width int32, height int32, imageURL ImageURL, ...) (result ReadCloser, err error) + func (client BaseClient) GenerateThumbnailInStream(ctx context.Context, width int32, height int32, imageParameter io.ReadCloser, ...) (result ReadCloser, err error) + func (client BaseClient) GenerateThumbnailInStreamPreparer(ctx context.Context, width int32, height int32, imageParameter io.ReadCloser, ...) (*http.Request, error) + func (client BaseClient) GenerateThumbnailInStreamResponder(resp *http.Response) (result ReadCloser, err error) + func (client BaseClient) GenerateThumbnailInStreamSender(req *http.Request) (*http.Response, error) + func (client BaseClient) GenerateThumbnailPreparer(ctx context.Context, width int32, height int32, imageURL ImageURL, ...) (*http.Request, error) + func (client BaseClient) GenerateThumbnailResponder(resp *http.Response) (result ReadCloser, err error) + func (client BaseClient) GenerateThumbnailSender(req *http.Request) (*http.Response, error) + func (client BaseClient) GetAreaOfInterest(ctx context.Context, imageURL ImageURL) (result AreaOfInterestResult, err error) + func (client BaseClient) GetAreaOfInterestInStream(ctx context.Context, imageParameter io.ReadCloser) (result AreaOfInterestResult, err error) + func (client BaseClient) GetAreaOfInterestInStreamPreparer(ctx context.Context, imageParameter io.ReadCloser) (*http.Request, error) + func (client BaseClient) GetAreaOfInterestInStreamResponder(resp *http.Response) (result AreaOfInterestResult, err error) + func (client BaseClient) GetAreaOfInterestInStreamSender(req *http.Request) (*http.Response, error) + func (client BaseClient) GetAreaOfInterestPreparer(ctx context.Context, imageURL ImageURL) (*http.Request, error) + func (client BaseClient) GetAreaOfInterestResponder(resp *http.Response) (result AreaOfInterestResult, err error) + func (client BaseClient) GetAreaOfInterestSender(req *http.Request) (*http.Response, error) + func (client BaseClient) GetReadOperationResult(ctx context.Context, operationID string) (result ReadOperationResult, err error) + func (client BaseClient) GetReadOperationResultPreparer(ctx context.Context, operationID string) (*http.Request, error) + func (client BaseClient) GetReadOperationResultResponder(resp *http.Response) (result ReadOperationResult, err error) + func (client BaseClient) GetReadOperationResultSender(req *http.Request) (*http.Response, error) + func (client BaseClient) GetTextOperationResult(ctx context.Context, operationID string) (result TextOperationResult, err error) + func (client BaseClient) GetTextOperationResultPreparer(ctx context.Context, operationID string) (*http.Request, error) + func (client BaseClient) GetTextOperationResultResponder(resp *http.Response) (result TextOperationResult, err error) + func (client BaseClient) GetTextOperationResultSender(req *http.Request) (*http.Response, error) + func (client BaseClient) ListModels(ctx context.Context) (result ListModelsResult, err error) + func (client BaseClient) ListModelsPreparer(ctx context.Context) (*http.Request, error) + func (client BaseClient) ListModelsResponder(resp *http.Response) (result ListModelsResult, err error) + func (client BaseClient) ListModelsSender(req *http.Request) (*http.Response, error) + func (client BaseClient) RecognizePrintedText(ctx context.Context, detectOrientation bool, imageURL ImageURL, ...) (result OcrResult, err error) + func (client BaseClient) RecognizePrintedTextInStream(ctx context.Context, detectOrientation bool, imageParameter io.ReadCloser, ...) (result OcrResult, err error) + func (client BaseClient) RecognizePrintedTextInStreamPreparer(ctx context.Context, detectOrientation bool, imageParameter io.ReadCloser, ...) (*http.Request, error) + func (client BaseClient) RecognizePrintedTextInStreamResponder(resp *http.Response) (result OcrResult, err error) + func (client BaseClient) RecognizePrintedTextInStreamSender(req *http.Request) (*http.Response, error) + func (client BaseClient) RecognizePrintedTextPreparer(ctx context.Context, detectOrientation bool, imageURL ImageURL, ...) (*http.Request, error) + func (client BaseClient) RecognizePrintedTextResponder(resp *http.Response) (result OcrResult, err error) + func (client BaseClient) RecognizePrintedTextSender(req *http.Request) (*http.Response, error) + func (client BaseClient) RecognizeText(ctx context.Context, imageURL ImageURL, mode TextRecognitionMode) (result autorest.Response, err error) + func (client BaseClient) RecognizeTextInStream(ctx context.Context, imageParameter io.ReadCloser, mode TextRecognitionMode) (result autorest.Response, err error) + func (client BaseClient) RecognizeTextInStreamPreparer(ctx context.Context, imageParameter io.ReadCloser, mode TextRecognitionMode) (*http.Request, error) + func (client BaseClient) RecognizeTextInStreamResponder(resp *http.Response) (result autorest.Response, err error) + func (client BaseClient) RecognizeTextInStreamSender(req *http.Request) (*http.Response, error) + func (client BaseClient) RecognizeTextPreparer(ctx context.Context, imageURL ImageURL, mode TextRecognitionMode) (*http.Request, error) + func (client BaseClient) RecognizeTextResponder(resp *http.Response) (result autorest.Response, err error) + func (client BaseClient) RecognizeTextSender(req *http.Request) (*http.Response, error) + func (client BaseClient) TagImage(ctx context.Context, imageURL ImageURL, language string) (result TagResult, err error) + func (client BaseClient) TagImageInStream(ctx context.Context, imageParameter io.ReadCloser, language string) (result TagResult, err error) + func (client BaseClient) TagImageInStreamPreparer(ctx context.Context, imageParameter io.ReadCloser, language string) (*http.Request, error) + func (client BaseClient) TagImageInStreamResponder(resp *http.Response) (result TagResult, err error) + func (client BaseClient) TagImageInStreamSender(req *http.Request) (*http.Response, error) + func (client BaseClient) TagImagePreparer(ctx context.Context, imageURL ImageURL, language string) (*http.Request, error) + func (client BaseClient) TagImageResponder(resp *http.Response) (result TagResult, err error) + func (client BaseClient) TagImageSender(req *http.Request) (*http.Response, error) + type BoundingRect struct + H *int32 + W *int32 + X *int32 + Y *int32 + type Category struct + Detail *CategoryDetail + Name *string + Score *float64 + type CategoryDetail struct + Celebrities *[]CelebritiesModel + Landmarks *[]LandmarksModel + type CelebritiesModel struct + Confidence *float64 + FaceRectangle *FaceRectangle + Name *string + type CelebrityResults struct + Celebrities *[]CelebritiesModel + Metadata *ImageMetadata + RequestID *string + type ColorInfo struct + AccentColor *string + DominantColorBackground *string + DominantColorForeground *string + DominantColors *[]string + IsBWImg *bool + type Details string + const Celebrities + const Landmarks + func PossibleDetailsValues() []Details + type DetectResult struct + Metadata *ImageMetadata + Objects *[]DetectedObject + RequestID *string + type DetectedBrand struct + Confidence *float64 + Name *string + Rectangle *BoundingRect + type DetectedObject struct + Confidence *float64 + Object *string + Parent *ObjectHierarchy + Rectangle *BoundingRect + type DomainModelResults struct + Metadata *ImageMetadata + RequestID *string + Result interface{} + type Error struct + Code interface{} + Message *string + RequestID *string + type FaceDescription struct + Age *int32 + FaceRectangle *FaceRectangle + Gender Gender + type FaceRectangle struct + Height *int32 + Left *int32 + Top *int32 + Width *int32 + type Gender string + const Female + const Male + func PossibleGenderValues() []Gender + type ImageAnalysis struct + Adult *AdultInfo + Brands *[]DetectedBrand + Categories *[]Category + Color *ColorInfo + Description *ImageDescriptionDetails + Faces *[]FaceDescription + ImageType *ImageType + Metadata *ImageMetadata + Objects *[]DetectedObject + RequestID *string + Tags *[]ImageTag + type ImageCaption struct + Confidence *float64 + Text *string + type ImageDescription struct + Metadata *ImageMetadata + RequestID *string + func (ID *ImageDescription) UnmarshalJSON(body []byte) error + func (ID ImageDescription) MarshalJSON() ([]byte, error) + type ImageDescriptionDetails struct + Captions *[]ImageCaption + Tags *[]string + type ImageMetadata struct + Format *string + Height *int32 + Width *int32 + type ImageTag struct + Confidence *float64 + Hint *string + Name *string + type ImageType struct + ClipArtType *int32 + LineDrawingType *int32 + type ImageURL struct + URL *string + type LandmarkResults struct + Landmarks *[]LandmarksModel + Metadata *ImageMetadata + RequestID *string + type LandmarksModel struct + Confidence *float64 + Name *string + type Line struct + BoundingBox *[]int32 + Text *string + Words *[]Word + type ListModelsResult struct + ModelsProperty *[]ModelDescription + type ModelDescription struct + Categories *[]string + Name *string + type ObjectHierarchy struct + Confidence *float64 + Object *string + Parent *ObjectHierarchy + type OcrLanguages string + const Ar + const Cs + const Da + const De + const El + const En + const Es + const Fi + const Fr + const Hu + const It + const Ja + const Ko + const Nb + const Nl + const Pl + const Pt + const Ro + const Ru + const Sk + const SrCyrl + const SrLatn + const Sv + const Tr + const Unk + const ZhHans + const ZhHant + func PossibleOcrLanguagesValues() []OcrLanguages + type OcrLine struct + BoundingBox *string + Words *[]OcrWord + type OcrRegion struct + BoundingBox *string + Lines *[]OcrLine + type OcrResult struct + Language *string + Orientation *string + Regions *[]OcrRegion + TextAngle *float64 + type OcrWord struct + BoundingBox *string + Text *string + type ReadCloser struct + Value *io.ReadCloser + type ReadOperationResult struct + RecognitionResults *[]TextRecognitionResult + Status TextOperationStatusCodes + type TagResult struct + Metadata *ImageMetadata + RequestID *string + Tags *[]ImageTag + type TextOperationResult struct + RecognitionResult *TextRecognitionResult + Status TextOperationStatusCodes + type TextOperationStatusCodes string + const Failed + const NotStarted + const Running + const Succeeded + func PossibleTextOperationStatusCodesValues() []TextOperationStatusCodes + type TextRecognitionMode string + const Handwritten + const Printed + func PossibleTextRecognitionModeValues() []TextRecognitionMode + type TextRecognitionResult struct + ClockwiseOrientation *float64 + Height *float64 + Lines *[]Line + Page *int32 + Unit TextRecognitionResultDimensionUnit + Width *float64 + type TextRecognitionResultConfidenceClass string + const High + const Low + func PossibleTextRecognitionResultConfidenceClassValues() []TextRecognitionResultConfidenceClass + type TextRecognitionResultDimensionUnit string + const Inch + const Pixel + func PossibleTextRecognitionResultDimensionUnitValues() []TextRecognitionResultDimensionUnit + type VisualFeatureTypes string + const VisualFeatureTypesAdult + const VisualFeatureTypesBrands + const VisualFeatureTypesCategories + const VisualFeatureTypesColor + const VisualFeatureTypesDescription + const VisualFeatureTypesFaces + const VisualFeatureTypesImageType + const VisualFeatureTypesObjects + const VisualFeatureTypesTags + func PossibleVisualFeatureTypesValues() []VisualFeatureTypes + type Word struct + BoundingBox *[]int32 + Confidence TextRecognitionResultConfidenceClass + Text *string Other modules containing this package gopkg.in/Azure/azure-sdk-for-go.v18 gopkg.in/Azure/azure-sdk-for-go.v19 gopkg.in/Azure/azure-sdk-for-go.v20 gopkg.in/Azure/azure-sdk-for-go.v21 gopkg.in/Azure/azure-sdk-for-go.v22 gopkg.in/Azure/azure-sdk-for-go.v23 gopkg.in/Azure/azure-sdk-for-go.v24 gopkg.in/Azure/azure-sdk-for-go.v25 gopkg.in/Azure/azure-sdk-for-go.v26 gopkg.in/Azure/azure-sdk-for-go.v27 gopkg.in/Azure/azure-sdk-for-go.v29 gopkg.in/Azure/azure-sdk-for-go.v30 gopkg.in/Azure/azure-sdk-for-go.v31 gopkg.in/Azure/azure-sdk-for-go.v32 gopkg.in/Azure/azure-sdk-for-go.v33 gopkg.in/Azure/azure-sdk-for-go.v34 gopkg.in/Azure/azure-sdk-for-go.v35 gopkg.in/Azure/azure-sdk-for-go.v36 gopkg.in/Azure/azure-sdk-for-go.v37 gopkg.in/Azure/azure-sdk-for-go.v38 gopkg.in/Azure/azure-sdk-for-go.v39 gopkg.in/Azure/azure-sdk-for-go.v40 gopkg.in/Azure/azure-sdk-for-go.v41 gopkg.in/Azure/azure-sdk-for-go.v42 gopkg.in/Azure/azure-sdk-for-go.v43 gopkg.in/Azure/azure-sdk-for-go.v44 gopkg.in/Azure/azure-sdk-for-go.v45 gopkg.in/Azure/azure-sdk-for-go.v46 gopkg.in/Azure/azure-sdk-for-go.v48