Sdílet prostřednictvím


FormRecognizerClient.StartRecognizeIdentityDocumentsFromUriAsync Method

Definition

Analyze identity documents using optical character recognition (OCR) and a prebuilt model trained on identity documents to extract key information from passports and US driver licenses.

See identity document fields for a list of available fields on an identity document.

public virtual System.Threading.Tasks.Task<Azure.AI.FormRecognizer.Models.RecognizeIdentityDocumentsOperation> StartRecognizeIdentityDocumentsFromUriAsync (Uri identityDocumentUri, Azure.AI.FormRecognizer.RecognizeIdentityDocumentsOptions recognizeIdentityDocumentsOptions = default, System.Threading.CancellationToken cancellationToken = default);
abstract member StartRecognizeIdentityDocumentsFromUriAsync : Uri * Azure.AI.FormRecognizer.RecognizeIdentityDocumentsOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.AI.FormRecognizer.Models.RecognizeIdentityDocumentsOperation>
override this.StartRecognizeIdentityDocumentsFromUriAsync : Uri * Azure.AI.FormRecognizer.RecognizeIdentityDocumentsOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.AI.FormRecognizer.Models.RecognizeIdentityDocumentsOperation>
Public Overridable Function StartRecognizeIdentityDocumentsFromUriAsync (identityDocumentUri As Uri, Optional recognizeIdentityDocumentsOptions As RecognizeIdentityDocumentsOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of RecognizeIdentityDocumentsOperation)

Parameters

identityDocumentUri
Uri

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

recognizeIdentityDocumentsOptions
RecognizeIdentityDocumentsOptions

A set of options available for configuring the recognize request. For example, specify the content type of the form, or whether or not to include form elements.

cancellationToken
CancellationToken

A CancellationToken controlling the request lifetime.

Returns

A RecognizeIdentityDocumentsOperation to wait on this long-running operation. Its Value upon successful completion will contain the extracted identity document information.

Remarks

Method is only available for V2_1.

Applies to