FormRecognizerClient.StartRecognizeReceiptsAsync 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> StartRecognizeReceiptsAsync (System.IO.Stream receipt, Azure.AI.FormRecognizer.RecognizeReceiptsOptions recognizeReceiptsOptions = default, System.Threading.CancellationToken cancellationToken = default);
abstract member StartRecognizeReceiptsAsync : System.IO.Stream * Azure.AI.FormRecognizer.RecognizeReceiptsOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.AI.FormRecognizer.Models.RecognizeReceiptsOperation>
override this.StartRecognizeReceiptsAsync : System.IO.Stream * Azure.AI.FormRecognizer.RecognizeReceiptsOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.AI.FormRecognizer.Models.RecognizeReceiptsOperation>
Public Overridable Function StartRecognizeReceiptsAsync (receipt As Stream, Optional recognizeReceiptsOptions As RecognizeReceiptsOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of RecognizeReceiptsOperation)
Parameters
- receipt
- Stream
The stream containing the one or more receipts 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