Versions in this module Expand all Collapse all v23 v23.2.0 Dec 10, 2018 v23.1.0 Dec 7, 2018 v23.0.0 Nov 27, 2018 Changes in this version + func UserAgent() string + func Version() string + type AdultInfo struct + AdultScore *float64 + IsAdultContent *bool + IsRacyContent *bool + RacyScore *float64 + type AzureRegions string + const Australiaeast + const Brazilsouth + const Eastasia + const Eastus + const Eastus2 + const Northeurope + const Southcentralus + const Southeastasia + const Westcentralus + const Westeurope + const Westus + const Westus2 + func PossibleAzureRegionsValues() []AzureRegions + type BaseClient struct + AzureRegion AzureRegions + func New(azureRegion AzureRegions) BaseClient + func NewWithoutDefaults(azureRegion AzureRegions) 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) DescribeImage(ctx context.Context, imageURL ImageURL, maxCandidates string, language string) (result ImageDescription, err error) + func (client BaseClient) DescribeImageInStream(ctx context.Context, imageParameter io.ReadCloser, maxCandidates string, ...) (result ImageDescription, err error) + func (client BaseClient) DescribeImageInStreamPreparer(ctx context.Context, imageParameter io.ReadCloser, maxCandidates string, ...) (*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 string, 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) 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) 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, detectHandwriting *bool) (result autorest.Response, err error) + func (client BaseClient) RecognizeTextInStream(ctx context.Context, imageParameter io.ReadCloser, detectHandwriting *bool) (result autorest.Response, err error) + func (client BaseClient) RecognizeTextInStreamPreparer(ctx context.Context, imageParameter io.ReadCloser, detectHandwriting *bool) (*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, detectHandwriting *bool) (*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 Category struct + Detail *CategoryDetail + Name *string + Score *float64 + type CategoryDetail struct + Celebrities *[]CelebritiesModel + 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 DomainModelResults struct + Metadata *ImageMetadata + RequestID *string + Result interface{} + type Error struct + Code ErrorCodes + Message *string + RequestID *string + type ErrorCodes string + const BadArgument + const FailedToProcess + const InternalServerError + const InvalidDetails + const InvalidImageFormat + const InvalidImageSize + const InvalidImageURL + const NotSupportedImage + const NotSupportedLanguage + const NotSupportedVisualFeature + const StorageException + const Timeout + const Unspecified + func PossibleErrorCodesValues() []ErrorCodes + 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 + Categories *[]Category + Color *ColorInfo + Description *ImageDescriptionDetails + Faces *[]FaceDescription + ImageType *ImageType + Metadata *ImageMetadata + RequestID *string + Tags *[]ImageTag + type ImageCaption struct + Confidence *float64 + Text *string + type ImageDescription struct + func (ID *ImageDescription) UnmarshalJSON(body []byte) error + func (ID ImageDescription) MarshalJSON() ([]byte, error) + type ImageDescriptionDetails struct + Captions *[]ImageCaption + Metadata *ImageMetadata + RequestID *string + Tags *[]string + type ImageMetadata struct + Format *string + Height *int32 + Width *int32 + type ImageTag struct + Confidence *float64 + Name *string + type ImageType struct + ClipArtType *float64 + LineDrawingType *float64 + type ImageURL struct + URL *string + type LandmarkResults struct + Landmarks *[]LandmarkResultsLandmarksItem + Metadata *ImageMetadata + RequestID *string + type LandmarkResultsLandmarksItem 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 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 RecognitionResult struct + Lines *[]Line + type TagResult struct + Metadata *ImageMetadata + RequestID *string + Tags *[]ImageTag + type TextOperationResult struct + RecognitionResult *RecognitionResult + Status TextOperationStatusCodes + type TextOperationStatusCodes string + const Failed + const NotStarted + const Running + const Succeeded + func PossibleTextOperationStatusCodesValues() []TextOperationStatusCodes + type VisualFeatureTypes string + const VisualFeatureTypesAdult + const VisualFeatureTypesCategories + const VisualFeatureTypesColor + const VisualFeatureTypesDescription + const VisualFeatureTypesFaces + const VisualFeatureTypesImageType + const VisualFeatureTypesTags + func PossibleVisualFeatureTypesValues() []VisualFeatureTypes + type Word struct + BoundingBox *[]int32 + Text *string Other modules containing this package gopkg.in/Azure/azure-sdk-for-go.v15 gopkg.in/Azure/azure-sdk-for-go.v16 gopkg.in/Azure/azure-sdk-for-go.v17 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.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.v28 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