Versions in this module Expand all Collapse all v41 v41.3.0 Apr 21, 2020 v41.2.0 Apr 8, 2020 v41.1.0 Apr 2, 2020 v41.0.0 Mar 30, 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.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.v47 gopkg.in/azure/azure-sdk-for-go.v48