Share via


FormRecognizerClient.StartRecognizeIdentityDocumentsFromUri 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 Azure.AI.FormRecognizer.Models.RecognizeIdentityDocumentsOperation StartRecognizeIdentityDocumentsFromUri (Uri identityDocumentUri, Azure.AI.FormRecognizer.RecognizeIdentityDocumentsOptions recognizeIdentityDocumentsOptions = default, System.Threading.CancellationToken cancellationToken = default);
abstract member StartRecognizeIdentityDocumentsFromUri : Uri * Azure.AI.FormRecognizer.RecognizeIdentityDocumentsOptions * System.Threading.CancellationToken -> Azure.AI.FormRecognizer.Models.RecognizeIdentityDocumentsOperation
override this.StartRecognizeIdentityDocumentsFromUri : Uri * Azure.AI.FormRecognizer.RecognizeIdentityDocumentsOptions * System.Threading.CancellationToken -> Azure.AI.FormRecognizer.Models.RecognizeIdentityDocumentsOperation
Public Overridable Function StartRecognizeIdentityDocumentsFromUri (identityDocumentUri As Uri, Optional recognizeIdentityDocumentsOptions As RecognizeIdentityDocumentsOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As 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