Versions in this module Expand all Collapse all v35 v35.1.0 Nov 1, 2019 v35.0.0 Oct 30, 2019 Changes in this version + func UserAgent() string + func Version() string + type AnalyzeResult struct + Errors *[]FormOperationError + Pages *[]ExtractedPage + Status Status2 + type BaseClient struct + Endpoint string + func New(endpoint string) BaseClient + func NewWithoutDefaults(endpoint string) BaseClient + func (client BaseClient) AnalyzeWithCustomModel(ctx context.Context, ID uuid.UUID, formStream io.ReadCloser, keys []string) (result AnalyzeResult, err error) + func (client BaseClient) AnalyzeWithCustomModelPreparer(ctx context.Context, ID uuid.UUID, formStream io.ReadCloser, keys []string) (*http.Request, error) + func (client BaseClient) AnalyzeWithCustomModelResponder(resp *http.Response) (result AnalyzeResult, err error) + func (client BaseClient) AnalyzeWithCustomModelSender(req *http.Request) (*http.Response, error) + func (client BaseClient) BatchReadReceipt(ctx context.Context, imageURL ImageURL) (result autorest.Response, err error) + func (client BaseClient) BatchReadReceiptInStream(ctx context.Context, imageParameter io.ReadCloser) (result autorest.Response, err error) + func (client BaseClient) BatchReadReceiptInStreamPreparer(ctx context.Context, imageParameter io.ReadCloser) (*http.Request, error) + func (client BaseClient) BatchReadReceiptInStreamResponder(resp *http.Response) (result autorest.Response, err error) + func (client BaseClient) BatchReadReceiptInStreamSender(req *http.Request) (*http.Response, error) + func (client BaseClient) BatchReadReceiptPreparer(ctx context.Context, imageURL ImageURL) (*http.Request, error) + func (client BaseClient) BatchReadReceiptResponder(resp *http.Response) (result autorest.Response, err error) + func (client BaseClient) BatchReadReceiptSender(req *http.Request) (*http.Response, error) + func (client BaseClient) DeleteCustomModel(ctx context.Context, ID uuid.UUID) (result autorest.Response, err error) + func (client BaseClient) DeleteCustomModelPreparer(ctx context.Context, ID uuid.UUID) (*http.Request, error) + func (client BaseClient) DeleteCustomModelResponder(resp *http.Response) (result autorest.Response, err error) + func (client BaseClient) DeleteCustomModelSender(req *http.Request) (*http.Response, error) + func (client BaseClient) GetCustomModel(ctx context.Context, ID uuid.UUID) (result ModelResult, err error) + func (client BaseClient) GetCustomModelPreparer(ctx context.Context, ID uuid.UUID) (*http.Request, error) + func (client BaseClient) GetCustomModelResponder(resp *http.Response) (result ModelResult, err error) + func (client BaseClient) GetCustomModelSender(req *http.Request) (*http.Response, error) + func (client BaseClient) GetCustomModels(ctx context.Context) (result ModelsResult, err error) + func (client BaseClient) GetCustomModelsPreparer(ctx context.Context) (*http.Request, error) + func (client BaseClient) GetCustomModelsResponder(resp *http.Response) (result ModelsResult, err error) + func (client BaseClient) GetCustomModelsSender(req *http.Request) (*http.Response, error) + func (client BaseClient) GetExtractedKeys(ctx context.Context, ID uuid.UUID) (result KeysResult, err error) + func (client BaseClient) GetExtractedKeysPreparer(ctx context.Context, ID uuid.UUID) (*http.Request, error) + func (client BaseClient) GetExtractedKeysResponder(resp *http.Response) (result KeysResult, err error) + func (client BaseClient) GetExtractedKeysSender(req *http.Request) (*http.Response, error) + func (client BaseClient) GetReadReceiptResult(ctx context.Context, operationID string) (result ReadReceiptResult, err error) + func (client BaseClient) GetReadReceiptResultPreparer(ctx context.Context, operationID string) (*http.Request, error) + func (client BaseClient) GetReadReceiptResultResponder(resp *http.Response) (result ReadReceiptResult, err error) + func (client BaseClient) GetReadReceiptResultSender(req *http.Request) (*http.Response, error) + func (client BaseClient) TrainCustomModel(ctx context.Context, trainRequest TrainRequest) (result TrainResult, err error) + func (client BaseClient) TrainCustomModelPreparer(ctx context.Context, trainRequest TrainRequest) (*http.Request, error) + func (client BaseClient) TrainCustomModelResponder(resp *http.Response) (result TrainResult, err error) + func (client BaseClient) TrainCustomModelSender(req *http.Request) (*http.Response, error) + type BasicFieldValue interface + AsFieldValue func() (*FieldValue, bool) + AsNumberValue func() (*NumberValue, bool) + AsStringValue func() (*StringValue, bool) + type ComputerVisionError struct + Code interface{} + Message *string + RequestID *string + type ElementReference struct + Ref *string + type ErrorInformation struct + Code *string + InnerError *InnerError + Message *string + type ErrorResponse struct + Error *ErrorInformation + type ExtractedKeyValuePair struct + Key *[]ExtractedToken + Value *[]ExtractedToken + type ExtractedPage struct + ClusterID *int32 + Height *int32 + KeyValuePairs *[]ExtractedKeyValuePair + Number *int32 + Tables *[]ExtractedTable + Width *int32 + type ExtractedTable struct + Columns *[]ExtractedTableColumn + ID *string + type ExtractedTableColumn struct + Entries *[][]ExtractedToken + Header *[]ExtractedToken + type ExtractedToken struct + BoundingBox *[]float64 + Confidence *float64 + Text *string + type FieldValue struct + Elements *[]ElementReference + Text *string + ValueType ValueType + func (fv FieldValue) AsBasicFieldValue() (BasicFieldValue, bool) + func (fv FieldValue) AsFieldValue() (*FieldValue, bool) + func (fv FieldValue) AsNumberValue() (*NumberValue, bool) + func (fv FieldValue) AsStringValue() (*StringValue, bool) + func (fv FieldValue) MarshalJSON() ([]byte, error) + type FormDocumentReport struct + DocumentName *string + Errors *[]string + Pages *int32 + Status Status + type FormOperationError struct + ErrorMessage *string + type ImageURL struct + URL *string + type InnerError struct + RequestID *string + type KeysResult struct + Clusters map[string][]string + func (kr KeysResult) MarshalJSON() ([]byte, error) + type Line struct + BoundingBox *[]int32 + Text *string + Words *[]Word + type ModelResult struct + CreatedDateTime *date.Time + LastUpdatedDateTime *date.Time + ModelID *uuid.UUID + Status Status1 + type ModelsResult struct + ModelsProperty *[]ModelResult + type NumberValue struct + Elements *[]ElementReference + Text *string + Value *float64 + ValueType ValueType + func (nv NumberValue) AsBasicFieldValue() (BasicFieldValue, bool) + func (nv NumberValue) AsFieldValue() (*FieldValue, bool) + func (nv NumberValue) AsNumberValue() (*NumberValue, bool) + func (nv NumberValue) AsStringValue() (*StringValue, bool) + func (nv NumberValue) MarshalJSON() ([]byte, error) + type ReadReceiptResult struct + RecognitionResults *[]TextRecognitionResult + Status TextOperationStatusCodes + UnderstandingResults *[]UnderstandingResult + type Status string + const Failure + const PartialSuccess + const Success + func PossibleStatusValues() []Status + type Status1 string + const Created + const Invalid + const Ready + func PossibleStatus1Values() []Status1 + type Status2 string + const Status2Failure + const Status2PartialSuccess + const Status2Success + func PossibleStatus2Values() []Status2 + type StringValue struct + Elements *[]ElementReference + Text *string + Value *string + ValueType ValueType + func (sv StringValue) AsBasicFieldValue() (BasicFieldValue, bool) + func (sv StringValue) AsFieldValue() (*FieldValue, bool) + func (sv StringValue) AsNumberValue() (*NumberValue, bool) + func (sv StringValue) AsStringValue() (*StringValue, bool) + func (sv StringValue) MarshalJSON() ([]byte, error) + type TextOperationStatusCodes string + const Failed + const NotStarted + const Running + const Succeeded + func PossibleTextOperationStatusCodesValues() []TextOperationStatusCodes + 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 TrainRequest struct + Source *string + SourceFilter *TrainSourceFilter + type TrainResult struct + Errors *[]FormOperationError + ModelID *uuid.UUID + TrainingDocuments *[]FormDocumentReport + type TrainSourceFilter struct + IncludeSubFolders *bool + Prefix *string + type UnderstandingResult struct + Fields map[string]*FieldValue + Pages *[]int32 + func (ur UnderstandingResult) MarshalJSON() ([]byte, error) + type ValueType string + const ValueTypeFieldValue + const ValueTypeNumberValue + const ValueTypeStringValue + func PossibleValueTypeValues() []ValueType + type Word struct + BoundingBox *[]int32 + Confidence TextRecognitionResultConfidenceClass + Text *string Other modules containing this package 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.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