FormRecognizerClient.StartRecognizeReceiptsFromUriAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Recognizes values from one or more receipts.
See receipt fields for a list of available fields on a receipt.
public virtual System.Threading.Tasks.Task<Azure.AI.FormRecognizer.Models.RecognizeReceiptsOperation> StartRecognizeReceiptsFromUriAsync (Uri receiptUri, Azure.AI.FormRecognizer.RecognizeReceiptsOptions recognizeReceiptsOptions = default, System.Threading.CancellationToken cancellationToken = default);
abstract member StartRecognizeReceiptsFromUriAsync : Uri * Azure.AI.FormRecognizer.RecognizeReceiptsOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.AI.FormRecognizer.Models.RecognizeReceiptsOperation>
override this.StartRecognizeReceiptsFromUriAsync : Uri * Azure.AI.FormRecognizer.RecognizeReceiptsOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.AI.FormRecognizer.Models.RecognizeReceiptsOperation>
Public Overridable Function StartRecognizeReceiptsFromUriAsync (receiptUri As Uri, Optional recognizeReceiptsOptions As RecognizeReceiptsOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of RecognizeReceiptsOperation)
Parameters
- receiptUri
- Uri
The absolute URI of the remote file to recognize values from.
- recognizeReceiptsOptions
- RecognizeReceiptsOptions
A set of options available for configuring the recognize request. For example, specify the content type of the form, the locale of the form, or whether or not to include form elements.
- cancellationToken
- CancellationToken
A CancellationToken controlling the request lifetime.
Returns
A RecognizeReceiptsOperation to wait on this long-running operation. Its Value upon successful completion will contain the extracted receipt.
Applies to
Azure SDK for .NET