Versions in this module Expand all Collapse all v45 v45.1.2 Aug 18, 2020 v45.1.1 Aug 14, 2020 v45.1.0 Aug 7, 2020 v45.0.0 Aug 3, 2020 Changes in this version + func UserAgent() string + func Version() string + type AnalyzeResults struct + ReadResults *[]ReadResult + Version *string + type BaseClient struct + Endpoint string + func New(endpoint string) BaseClient + func NewWithoutDefaults(endpoint string) BaseClient + func (client BaseClient) GetReadResult(ctx context.Context, operationID uuid.UUID) (result ReadOperationResult, err error) + func (client BaseClient) GetReadResultPreparer(ctx context.Context, operationID uuid.UUID) (*http.Request, error) + func (client BaseClient) GetReadResultResponder(resp *http.Response) (result ReadOperationResult, err error) + func (client BaseClient) GetReadResultSender(req *http.Request) (*http.Response, error) + func (client BaseClient) Read(ctx context.Context, imageURL ImageURL, language OcrDetectionLanguage) (result autorest.Response, err error) + func (client BaseClient) ReadInStream(ctx context.Context, imageParameter io.ReadCloser, ...) (result autorest.Response, err error) + func (client BaseClient) ReadInStreamPreparer(ctx context.Context, imageParameter io.ReadCloser, ...) (*http.Request, error) + func (client BaseClient) ReadInStreamResponder(resp *http.Response) (result autorest.Response, err error) + func (client BaseClient) ReadInStreamSender(req *http.Request) (*http.Response, error) + func (client BaseClient) ReadPreparer(ctx context.Context, imageURL ImageURL, language OcrDetectionLanguage) (*http.Request, error) + func (client BaseClient) ReadResponder(resp *http.Response) (result autorest.Response, err error) + func (client BaseClient) ReadSender(req *http.Request) (*http.Response, error) + type Error struct + Code interface{} + Message *string + RequestID *string + type ImageURL struct + URL *string + type Line struct + BoundingBox *[]float64 + Language *string + Text *string + Words *[]Word + type OcrDetectionLanguage string + const En + const Es + func PossibleOcrDetectionLanguageValues() []OcrDetectionLanguage + type OperationStatusCodes string + const Failed + const NotStarted + const Running + const Succeeded + func PossibleOperationStatusCodesValues() []OperationStatusCodes + type ReadOperationResult struct + AnalyzeResult *AnalyzeResults + CreatedDateTime *date.Time + LastUpdatedDateTime *date.Time + Status OperationStatusCodes + type ReadResult struct + Angle *float64 + Height *float64 + Language *string + Lines *[]Line + Page *int32 + Unit TextRecognitionResultDimensionUnit + Width *float64 + type TextRecognitionResultDimensionUnit string + const Inch + const Pixel + func PossibleTextRecognitionResultDimensionUnitValues() []TextRecognitionResultDimensionUnit + type Word struct + BoundingBox *[]float64 + Confidence *float64 + Text *string Other modules containing this package 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.v46 gopkg.in/Azure/azure-sdk-for-go.v48