Bagikan melalui


FormRecognizerClient.StartRecognizeBusinessCardsFromUriAsync Method

Definition

Recognizes values from one or more business cards.

See business card fields for a list of available fields on a business card.

public virtual System.Threading.Tasks.Task<Azure.AI.FormRecognizer.Models.RecognizeBusinessCardsOperation> StartRecognizeBusinessCardsFromUriAsync (Uri businessCardUri, Azure.AI.FormRecognizer.RecognizeBusinessCardsOptions recognizeBusinessCardsOptions = default, System.Threading.CancellationToken cancellationToken = default);
abstract member StartRecognizeBusinessCardsFromUriAsync : Uri * Azure.AI.FormRecognizer.RecognizeBusinessCardsOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.AI.FormRecognizer.Models.RecognizeBusinessCardsOperation>
override this.StartRecognizeBusinessCardsFromUriAsync : Uri * Azure.AI.FormRecognizer.RecognizeBusinessCardsOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.AI.FormRecognizer.Models.RecognizeBusinessCardsOperation>
Public Overridable Function StartRecognizeBusinessCardsFromUriAsync (businessCardUri As Uri, Optional recognizeBusinessCardsOptions As RecognizeBusinessCardsOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of RecognizeBusinessCardsOperation)

Parameters

businessCardUri
Uri

The absolute URI of the remote file to recognize values from.

recognizeBusinessCardsOptions
RecognizeBusinessCardsOptions

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 RecognizeBusinessCardsOperation to wait on this long-running operation. Its Value upon successful completion will contain the extracted business cards.

Remarks

Method is only available for V2_1.

Applies to