public final class FormRecognizerClient extends Object
Instantiating a synchronous Form Recognizer Client
Snippet 'com.azure.ai.formrecognizer.FormRecognizerClient.instantiation' not found.
FormRecognizerClientBuilder
Modifier and Type | Method and Description |
---|---|
SyncPoller<FormRecognizerOperationResult,List<RecognizedForm>> |
beginRecognizeBusinessCards(InputStream businessCard,
long length)
Recognizes business card data from the provided document data using optical character recognition (OCR)
and a prebuilt trained business card model.
|
SyncPoller<FormRecognizerOperationResult,List<RecognizedForm>> |
beginRecognizeBusinessCards(InputStream businessCard,
long length,
RecognizeBusinessCardsOptions recognizeBusinessCardsOptions,
Context context)
Recognizes business card data from the provided document data using optical character recognition (OCR)
and a prebuilt trained business card model.
|
SyncPoller<FormRecognizerOperationResult,List<RecognizedForm>> |
beginRecognizeBusinessCardsFromUrl(String businessCardUrl)
Recognizes business card data from document using optical character recognition (OCR) and a prebuilt
business card trained model.
|
SyncPoller<FormRecognizerOperationResult,List<RecognizedForm>> |
beginRecognizeBusinessCardsFromUrl(String businessCardUrl,
RecognizeBusinessCardsOptions recognizeBusinessCardsOptions,
Context context)
Recognizes business card data from documents using optical character recognition (OCR) and a
prebuilt business card trained model.
|
SyncPoller<FormRecognizerOperationResult,List<FormPage>> |
beginRecognizeContent(InputStream form,
long length)
Recognizes layout data using optical character recognition (OCR) and a custom trained model.
|
SyncPoller<FormRecognizerOperationResult,List<FormPage>> |
beginRecognizeContent(InputStream form,
long length,
RecognizeContentOptions recognizeContentOptions,
Context context)
Recognizes content/layout data from the provided document data using optical character recognition (OCR).
|
SyncPoller<FormRecognizerOperationResult,List<FormPage>> |
beginRecognizeContentFromUrl(String formUrl)
Recognizes content/layout data from documents using optical character recognition (OCR).
|
SyncPoller<FormRecognizerOperationResult,List<FormPage>> |
beginRecognizeContentFromUrl(String formUrl,
RecognizeContentOptions recognizeContentOptions,
Context context)
Recognizes content/layout data using optical character recognition (OCR).
|
SyncPoller<FormRecognizerOperationResult,List<RecognizedForm>> |
beginRecognizeCustomForms(String modelId,
InputStream form,
long length)
Recognizes form data from documents using optical character recognition (OCR) and a custom trained
model with or without labels.
|
SyncPoller<FormRecognizerOperationResult,List<RecognizedForm>> |
beginRecognizeCustomForms(String modelId,
InputStream form,
long length,
RecognizeCustomFormsOptions recognizeCustomFormsOptions,
Context context)
Recognizes form data from documents using optical character recognition (OCR) and a custom trained
model.
|
SyncPoller<FormRecognizerOperationResult,List<RecognizedForm>> |
beginRecognizeCustomFormsFromUrl(String modelId,
String formUrl)
Recognizes form data from documents using optical character recognition (OCR) and a custom trained
model with or without labels.
|
SyncPoller<FormRecognizerOperationResult,List<RecognizedForm>> |
beginRecognizeCustomFormsFromUrl(String modelId,
String formUrl,
RecognizeCustomFormsOptions recognizeCustomFormsOptions,
Context context)
Recognizes form data from documents using optical character recognition (OCR)
and a custom trained model.
|
SyncPoller<FormRecognizerOperationResult,List<RecognizedForm>> |
beginRecognizeIdentityDocuments(InputStream identityDocument,
long length)
Analyze identity documents using optical character recognition (OCR) and a prebuilt model trained on identity
documents model to extract key information from passports and US driver licenses.
|
SyncPoller<FormRecognizerOperationResult,List<RecognizedForm>> |
beginRecognizeIdentityDocuments(InputStream identityDocument,
long length,
RecognizeIdentityDocumentOptions recognizeIdentityDocumentOptions,
Context context)
Analyze identity documents using optical character recognition (OCR) and a prebuilt model trained on identity
documents model to extract key information from passports and US driver licenses.
|
SyncPoller<FormRecognizerOperationResult,List<RecognizedForm>> |
beginRecognizeIdentityDocumentsFromUrl(String identityDocumentUrl)
Analyze identity documents using optical character recognition (OCR) and a prebuilt model trained on identity
documents model to extract key information from passports and US driver licenses.
|
SyncPoller<FormRecognizerOperationResult,List<RecognizedForm>> |
beginRecognizeIdentityDocumentsFromUrl(String identityDocumentUrl,
RecognizeIdentityDocumentOptions recognizeIdentityDocumentOptions,
Context context)
Analyze identity documents using optical character recognition (OCR) and a prebuilt model trained on identity
documents model to extract key information from passports and US driver licenses.
|
SyncPoller<FormRecognizerOperationResult,List<RecognizedForm>> |
beginRecognizeInvoices(InputStream invoice,
long length)
Recognizes data from the provided document data using optical character recognition (OCR)
and a prebuilt trained invoice model.
|
SyncPoller<FormRecognizerOperationResult,List<RecognizedForm>> |
beginRecognizeInvoices(InputStream invoice,
long length,
RecognizeInvoicesOptions recognizeInvoicesOptions,
Context context)
Recognizes data from the provided document data using optical character recognition (OCR) and a prebuilt
trained invoice model.
|
SyncPoller<FormRecognizerOperationResult,List<RecognizedForm>> |
beginRecognizeInvoicesFromUrl(String invoiceUrl)
Recognizes invoice data from document using optical character recognition (OCR) and a prebuilt invoice trained
model.
|
SyncPoller<FormRecognizerOperationResult,List<RecognizedForm>> |
beginRecognizeInvoicesFromUrl(String invoiceUrl,
RecognizeInvoicesOptions recognizeInvoicesOptions,
Context context)
Recognizes invoice data from documents using optical character recognition (OCR) and a
prebuilt invoice trained model.
|
SyncPoller<FormRecognizerOperationResult,List<RecognizedForm>> |
beginRecognizeReceipts(InputStream receipt,
long length)
Recognizes data from the provided document data using optical character recognition (OCR)
and a prebuilt trained receipt model.
|
SyncPoller<FormRecognizerOperationResult,List<RecognizedForm>> |
beginRecognizeReceipts(InputStream receipt,
long length,
RecognizeReceiptsOptions recognizeReceiptsOptions,
Context context)
Recognizes data from the provided document data using optical character recognition (OCR) and a prebuilt
trained receipt model.
|
SyncPoller<FormRecognizerOperationResult,List<RecognizedForm>> |
beginRecognizeReceiptsFromUrl(String receiptUrl)
Recognizes receipt data from document using optical character recognition (OCR) and a prebuilt receipt trained
model.
|
SyncPoller<FormRecognizerOperationResult,List<RecognizedForm>> |
beginRecognizeReceiptsFromUrl(String receiptUrl,
RecognizeReceiptsOptions recognizeReceiptsOptions,
Context context)
Recognizes receipt data from documents using optical character recognition (OCR) and a
prebuilt receipt trained model.
|
public SyncPoller<FormRecognizerOperationResult,List<RecognizedForm>> beginRecognizeCustomFormsFromUrl(String modelId, String formUrl)
The service does not support cancellation of the long running operation and returns with an error message indicating absence of cancellation support
Code sample
Snippet 'com.azure.ai.formrecognizer.FormRecognizerClient.beginRecognizeCustomFormsFromUrl#string-string' not found.
modelId
- The UUID string format custom trained model Id to be used.formUrl
- The URL of the form to analyze.SyncPoller
to poll the progress of the recognize custom form operation until it has completed,
has failed, or has been cancelled. The completed operation returns a list of RecognizedForm
.FormRecognizerException
- If recognize operation fails and the AnalyzeOperationResult
returned with
an OperationStatus.FAILED
.NullPointerException
- If formUrl
, modelId
is null.public SyncPoller<FormRecognizerOperationResult,List<RecognizedForm>> beginRecognizeCustomFormsFromUrl(String modelId, String formUrl, RecognizeCustomFormsOptions recognizeCustomFormsOptions, Context context)
The service does not support cancellation of the long running operation and returns with an error message indicating absence of cancellation support
Code sample
Snippet 'com.azure.ai.formrecognizer.FormRecognizerClient.beginRecognizeCustomFormsFromUrl#string-string-RecognizeCustomFormsOptions-Context' not found.
modelId
- The UUID string format custom trained model Id to be used.formUrl
- The source URL to the input form.recognizeCustomFormsOptions
- The additional configurable
options
that may be passed when recognizing custom forms.context
- Additional context that is passed through the HTTP pipeline during the service call.SyncPoller
to poll the progress of the recognize custom form operation until it has completed,
has failed, or has been cancelled. The completed operation returns a list of RecognizedForm
.FormRecognizerException
- If recognize operation fails and the AnalyzeOperationResult
returned with
an OperationStatus.FAILED
.NullPointerException
- If formUrl
, modelId
is null.public SyncPoller<FormRecognizerOperationResult,List<RecognizedForm>> beginRecognizeCustomForms(String modelId, InputStream form, long length)
The service does not support cancellation of the long running operation and returns with an error message indicating absence of cancellation support.
Code sample
Snippet 'com.azure.ai.formrecognizer.FormRecognizerClient.beginRecognizeCustomForms#string-InputStream-long' not found.
modelId
- The UUID string format custom trained model Id to be used.form
- The data of the form to recognize form information from.length
- The exact length of the data.SyncPoller
that polls the recognize custom form operation until it has completed,
has failed, or has been cancelled. The completed operation returns a list of RecognizedForm
.FormRecognizerException
- If recognize operation fails and the AnalyzeOperationResult
returned with
an OperationStatus.FAILED
.NullPointerException
- If form
, modelId
is null.public SyncPoller<FormRecognizerOperationResult,List<RecognizedForm>> beginRecognizeCustomForms(String modelId, InputStream form, long length, RecognizeCustomFormsOptions recognizeCustomFormsOptions, Context context)
The service does not support cancellation of the long running operation and returns with an error message indicating absence of cancellation support.
Code sample
Snippet 'com.azure.ai.formrecognizer.FormRecognizerClient.beginRecognizeCustomForms#string-InputStream-long-RecognizeCustomFormsOptions-Context' not found.
modelId
- The UUID string format custom trained model Id to be used.form
- The data of the form to recognize form information from.length
- The exact length of the data.recognizeCustomFormsOptions
- The additional configurable
options
that may be passed when recognizing custom forms.context
- Additional context that is passed through the HTTP pipeline during the service call.SyncPoller
that polls the recognize custom form operation until it has completed,
has failed, or has been cancelled. The completed operation returns a list of RecognizedForm
.FormRecognizerException
- If recognize operation fails and the AnalyzeOperationResult
returned with
an OperationStatus.FAILED
.NullPointerException
- If form
, modelId
is null.public SyncPoller<FormRecognizerOperationResult,List<FormPage>> beginRecognizeContentFromUrl(String formUrl)
The service does not support cancellation of the long running operation and returns with an error message indicating absence of cancellation support.
Code sample
Snippet 'com.azure.ai.formrecognizer.FormRecognizerClient.beginRecognizeContentFromUrl#string' not found.
formUrl
- The URL of the form to analyze.SyncPoller
that polls the recognize content form operation until it has completed, has failed,
or has been cancelled. The completed operation returns a list of FormPage
.FormRecognizerException
- If recognize operation fails and the AnalyzeOperationResult
returned with
an OperationStatus.FAILED
.NullPointerException
- If formUrl
is null.public SyncPoller<FormRecognizerOperationResult,List<FormPage>> beginRecognizeContentFromUrl(String formUrl, RecognizeContentOptions recognizeContentOptions, Context context)
The service does not support cancellation of the long running operation and returns with an error message indicating absence of cancellation support.
Content recognition supports auto language identification and multilanguage documents, so only
provide a language code if you would like to force the documented to be processed as
that specific language in the options
.
Code sample
Snippet 'com.azure.ai.formrecognizer.FormRecognizerClient.beginRecognizeContentFromUrl#string-RecognizeContentOptions-Context' not found.
formUrl
- The source URL to the input form.recognizeContentOptions
- The additional configurable options
that may be passed when recognizing content/layout on a form.context
- Additional context that is passed through the HTTP pipeline during the service call.SyncPoller
that polls the recognize layout operation until it has completed, has
failed, or has been cancelled. The completed operation returns a list of FormPage
.FormRecognizerException
- If recognize operation fails and the AnalyzeOperationResult
returned with
an OperationStatus.FAILED
.NullPointerException
- If formUrl
is null.public SyncPoller<FormRecognizerOperationResult,List<FormPage>> beginRecognizeContent(InputStream form, long length)
The service does not support cancellation of the long running operation and returns with an error message indicating absence of cancellation support.
Code sample
Snippet 'com.azure.ai.formrecognizer.FormRecognizerClient.beginRecognizeContent#InputStream-long' not found.
form
- The data of the form to recognize content information from.length
- The exact length of the data.SyncPoller
that polls the recognize content operation until it has completed, has failed,
or has been cancelled. The completed operation returns a list of FormPage
.FormRecognizerException
- If recognize operation fails and the AnalyzeOperationResult
returned with
an OperationStatus.FAILED
.NullPointerException
- If form
is null.public SyncPoller<FormRecognizerOperationResult,List<FormPage>> beginRecognizeContent(InputStream form, long length, RecognizeContentOptions recognizeContentOptions, Context context)
The service does not support cancellation of the long running operation and returns with an error message indicating absence of cancellation support
Content recognition supports auto language identification and multilanguage documents, so only
provide a language code if you would like to force the documented to be processed as
that specific language in the options
.
Code sample
Snippet 'com.azure.ai.formrecognizer.FormRecognizerClient.beginRecognizeContent#InputStream-long-RecognizeContentOptions-Context' not found.
form
- The data of the form to recognize content information from.length
- The exact length of the data.recognizeContentOptions
- The additional configurable options
that may be passed when recognizing content/layout on a form.context
- Additional context that is passed through the HTTP pipeline during the service call.SyncPoller
that polls the recognize content operation until it has completed,
has failed, or has been cancelled. The completed operation returns a list of FormPage
.FormRecognizerException
- If recognize operation fails and the AnalyzeOperationResult
returned with
an OperationStatus.FAILED
.NullPointerException
- If form
is null.public SyncPoller<FormRecognizerOperationResult,List<RecognizedForm>> beginRecognizeReceiptsFromUrl(String receiptUrl)
The service does not support cancellation of the long running operation and returns with an error message indicating absence of cancellation support
See here for fields found on a receipt.Code sample
Snippet 'com.azure.ai.formrecognizer.FormRecognizerClient.beginRecognizeReceiptsFromUrl#string' not found.
receiptUrl
- The URL of the receipt to analyze.SyncPoller
to poll the progress of the recognize receipt operation until it has completed,
has failed, or has been cancelled. The completed operation returns a list of RecognizedForm
.FormRecognizerException
- If recognize operation fails and the AnalyzeOperationResult
returned with
an OperationStatus.FAILED
.NullPointerException
- If receiptUrl
is null.public SyncPoller<FormRecognizerOperationResult,List<RecognizedForm>> beginRecognizeReceiptsFromUrl(String receiptUrl, RecognizeReceiptsOptions recognizeReceiptsOptions, Context context)
The service does not support cancellation of the long running operation and returns with an error message indicating absence of cancellation support
Code sample
Snippet 'com.azure.ai.formrecognizer.FormRecognizerClient.beginRecognizeReceiptsFromUrl#string-RecognizeReceiptsOptions-Context' not found.
receiptUrl
- The source URL to the input receipt.recognizeReceiptsOptions
- The additional configurable options
that may be passed when analyzing a receipt.context
- Additional context that is passed through the HTTP pipeline during the service call.SyncPoller
to poll the progress of the recognize receipt operation until it has completed,
has failed, or has been cancelled. The completed operation returns a list of RecognizedForm
.FormRecognizerException
- If recognize operation fails and the AnalyzeOperationResult
returned with
an OperationStatus.FAILED
.NullPointerException
- If receiptUrl
is null.public SyncPoller<FormRecognizerOperationResult,List<RecognizedForm>> beginRecognizeReceipts(InputStream receipt, long length)
The service does not support cancellation of the long running operation and returns with an error message indicating absence of cancellation support
See here for fields found on a receipt.Code sample
Snippet 'com.azure.ai.formrecognizer.FormRecognizerClient.beginRecognizeReceipts#InputStream-long' not found.
receipt
- The data of the receipt to recognize receipt information from.length
- The exact length of the data.SyncPoller
that polls the recognize receipt operation until it has completed,
has failed, or has been cancelled. The completed operation returns a list of RecognizedForm
.FormRecognizerException
- If recognize operation fails and the AnalyzeOperationResult
returned with
an OperationStatus.FAILED
.NullPointerException
- If receipt
is null.public SyncPoller<FormRecognizerOperationResult,List<RecognizedForm>> beginRecognizeReceipts(InputStream receipt, long length, RecognizeReceiptsOptions recognizeReceiptsOptions, Context context)
The service does not support cancellation of the long running operation and returns with an error message indicating absence of cancellation support
See here for fields found on a receipt.Code sample
Snippet 'com.azure.ai.formrecognizer.FormRecognizerClient.beginRecognizeReceipts#InputStream-long-RecognizeReceiptsOptions-Context' not found.
receipt
- The data of the receipt to recognize receipt information from.length
- The exact length of the data.recognizeReceiptsOptions
- The additional configurable options
that may be passed when analyzing a receipt.context
- Additional context that is passed through the HTTP pipeline during the service call.SyncPoller
that polls the recognize receipt operation until it has completed, has failed,
or has been cancelled. The completed operation returns a list of RecognizedForm
.FormRecognizerException
- If recognize operation fails and the AnalyzeOperationResult
returned with
an OperationStatus.FAILED
.NullPointerException
- If receipt
is null.public SyncPoller<FormRecognizerOperationResult,List<RecognizedForm>> beginRecognizeBusinessCardsFromUrl(String businessCardUrl)
The service does not support cancellation of the long running operation and returns with an error message indicating absence of cancellation support
See here for fields found on a business card.Code sample
Snippet 'com.azure.ai.formrecognizer.FormRecognizerClient.beginRecognizeBusinessCardsFromUrl#string' not found.
businessCardUrl
- The source URL to the input business card.SyncPoller
to poll the progress of the recognize business card operation until it has
completed, has failed, or has been cancelled. The completed operation returns a list of RecognizedForm
.FormRecognizerException
- If recognize operation fails and the AnalyzeOperationResult
returned with
an OperationStatus.FAILED
.NullPointerException
- If businessCardUrl
is null.public SyncPoller<FormRecognizerOperationResult,List<RecognizedForm>> beginRecognizeBusinessCardsFromUrl(String businessCardUrl, RecognizeBusinessCardsOptions recognizeBusinessCardsOptions, Context context)
The service does not support cancellation of the long running operation and returns with an error message indicating absence of cancellation support
See here for fields found on a business card.Code sample
Snippet 'com.azure.ai.formrecognizer.FormRecognizerClient.beginRecognizeBusinessCardsFromUrl#string-RecognizeBusinessCardsOptions-Context' not found.
businessCardUrl
- The source URL to the input business card.recognizeBusinessCardsOptions
- The additional configurable options
that may be passed when analyzing a business card.context
- Additional context that is passed through the HTTP pipeline during the service call.SyncPoller
to poll the progress of the recognize business card operation until it has
completed, has failed, or has been cancelled. The completed operation returns a list of RecognizedForm
.FormRecognizerException
- If recognize operation fails and the AnalyzeOperationResult
returned with
an OperationStatus.FAILED
.NullPointerException
- If businessCardUrl
is null.public SyncPoller<FormRecognizerOperationResult,List<RecognizedForm>> beginRecognizeBusinessCards(InputStream businessCard, long length)
The service does not support cancellation of the long running operation and returns with an error message indicating absence of cancellation support
See here for fields found on a business card.Code sample
Snippet 'com.azure.ai.formrecognizer.FormRecognizerClient.beginRecognizeBusinessCards#InputStream-long' not found.
businessCard
- The data of the business card to recognize business card information from.length
- The exact length of the data.SyncPoller
that polls the recognize business card operation until it has completed,
has failed, or has been cancelled. The completed operation returns a list of RecognizedForm
.FormRecognizerException
- If recognize operation fails and the AnalyzeOperationResult
returned with
an OperationStatus.FAILED
.NullPointerException
- If businessCard
is null.public SyncPoller<FormRecognizerOperationResult,List<RecognizedForm>> beginRecognizeBusinessCards(InputStream businessCard, long length, RecognizeBusinessCardsOptions recognizeBusinessCardsOptions, Context context)
The service does not support cancellation of the long running operation and returns with an error message indicating absence of cancellation support
See here for fields found on a business card.Code sample
Snippet 'com.azure.ai.formrecognizer.FormRecognizerClient.beginRecognizeBusinessCards#InputStream-long-RecognizeBusinessCardsOptions-Context' not found.
businessCard
- The data of the business card to recognize business card information from.length
- The exact length of the data.recognizeBusinessCardsOptions
- The additional configurable options
that may be passed when analyzing a business card.context
- Additional context that is passed through the HTTP pipeline during the service call.SyncPoller
that polls the recognize business card operation until it has completed, has failed,
or has been cancelled. The completed operation returns a list of RecognizedForm
.FormRecognizerException
- If recognize operation fails and the AnalyzeOperationResult
returned with
an OperationStatus.FAILED
.NullPointerException
- If businessCard
is null.public SyncPoller<FormRecognizerOperationResult,List<RecognizedForm>> beginRecognizeInvoicesFromUrl(String invoiceUrl)
The service does not support cancellation of the long running operation and returns with an error message indicating absence of cancellation support
See here for fields found on an invoice.Code sample
Snippet 'com.azure.ai.formrecognizer.FormRecognizerClient.beginRecognizeInvoicesFromUrl#string' not found.
invoiceUrl
- The URL of the invoice document to analyze.SyncPoller
to poll the progress of the recognize invoice operation until it has completed,
has failed, or has been cancelled. The completed operation returns a list of RecognizedForm
.FormRecognizerException
- If recognize operation fails and the AnalyzeOperationResult
returned with
an OperationStatus.FAILED
.NullPointerException
- If invoiceUrl
is null.public SyncPoller<FormRecognizerOperationResult,List<RecognizedForm>> beginRecognizeInvoicesFromUrl(String invoiceUrl, RecognizeInvoicesOptions recognizeInvoicesOptions, Context context)
The service does not support cancellation of the long running operation and returns with an error message indicating absence of cancellation support
Code sample
Snippet 'com.azure.ai.formrecognizer.FormRecognizerClient.beginRecognizeInvoicesFromUrl#string-RecognizeInvoicesOptions-Context' not found.
invoiceUrl
- The source URL to the input invoice document.recognizeInvoicesOptions
- The additional configurable options
that may be passed when analyzing an invoice.context
- Additional context that is passed through the HTTP pipeline during the service call.SyncPoller
to poll the progress of the recognize invoice operation until it has completed,
has failed, or has been cancelled. The completed operation returns a list of RecognizedForm
.FormRecognizerException
- If recognize operation fails and the AnalyzeOperationResult
returned with
an OperationStatus.FAILED
.NullPointerException
- If invoiceUrl
is null.public SyncPoller<FormRecognizerOperationResult,List<RecognizedForm>> beginRecognizeInvoices(InputStream invoice, long length)
The service does not support cancellation of the long running operation and returns with an error message indicating absence of cancellation support
See here for fields found on a invoice.Code sample
Snippet 'com.azure.ai.formrecognizer.FormRecognizerClient.beginRecognizeInvoices#InputStream-long' not found.
invoice
- The data of the invoice to recognize invoice related information from.length
- The exact length of the data.SyncPoller
that polls the recognize invoice operation until it has completed,
has failed, or has been cancelled. The completed operation returns a list of RecognizedForm
.FormRecognizerException
- If recognize operation fails and the AnalyzeOperationResult
returned with
an OperationStatus.FAILED
.NullPointerException
- If invoice
is null.public SyncPoller<FormRecognizerOperationResult,List<RecognizedForm>> beginRecognizeInvoices(InputStream invoice, long length, RecognizeInvoicesOptions recognizeInvoicesOptions, Context context)
The service does not support cancellation of the long running operation and returns with an error message indicating absence of cancellation support
See here for fields found on a invoice.Code sample
Snippet 'com.azure.ai.formrecognizer.FormRecognizerClient.beginRecognizeInvoices#InputStream-long-RecognizeInvoicesOptions-Context' not found.
invoice
- The data of the invoice to recognize invoice related information from.length
- The exact length of the data.recognizeInvoicesOptions
- The additional configurable options
that may be passed when analyzing a invoice.context
- Additional context that is passed through the HTTP pipeline during the service call.SyncPoller
that polls the recognize invoice operation until it has completed, has failed,
or has been cancelled. The completed operation returns a list of RecognizedForm
.FormRecognizerException
- If recognize operation fails and the AnalyzeOperationResult
returned with
an OperationStatus.FAILED
.NullPointerException
- If invoice
is null.public SyncPoller<FormRecognizerOperationResult,List<RecognizedForm>> beginRecognizeIdentityDocumentsFromUrl(String identityDocumentUrl)
The service does not support cancellation of the long running operation and returns with an error message indicating absence of cancellation support
Code sample
Snippet 'com.azure.ai.formrecognizer.FormRecognizerClient.beginRecognizeIdentityDocumentsFromUrl#string' not found.
identityDocumentUrl
- The source URL to the input identity document.SyncPoller
to poll the progress of the recognize identity document operation until it has
completed, has failed, or has been cancelled. The completed operation returns a list of RecognizedForm
.FormRecognizerException
- If recognize operation fails and the AnalyzeOperationResult
returned with
an OperationStatus.FAILED
.NullPointerException
- If identityDocumentUrl
is null.public SyncPoller<FormRecognizerOperationResult,List<RecognizedForm>> beginRecognizeIdentityDocumentsFromUrl(String identityDocumentUrl, RecognizeIdentityDocumentOptions recognizeIdentityDocumentOptions, Context context)
The service does not support cancellation of the long running operation and returns with an error message indicating absence of cancellation support
Code sample
Snippet 'com.azure.ai.formrecognizer.FormRecognizerClient.beginRecognizeIdentityDocumentsFromUrl#string-RecognizeIdentityDocumentOptions-Context' not found.
identityDocumentUrl
- The source URL to the input identity Document.recognizeIdentityDocumentOptions
- The additional configurable
options
that may be passed when analyzing an identity document.context
- Additional context that is passed through the HTTP pipeline during the service call.SyncPoller
to poll the progress of the recognize identity document operation until it has
completed, has failed, or has been cancelled. The completed operation returns a list of RecognizedForm
.FormRecognizerException
- If recognize operation fails and the AnalyzeOperationResult
returned with
an OperationStatus.FAILED
.NullPointerException
- If identityDocumentUrl
is null.public SyncPoller<FormRecognizerOperationResult,List<RecognizedForm>> beginRecognizeIdentityDocuments(InputStream identityDocument, long length)
The service does not support cancellation of the long running operation and returns with an error message indicating absence of cancellation support
Code sample
Snippet 'com.azure.ai.formrecognizer.FormRecognizerClient.beginRecognizeIdentityDocuments#InputStream-long' not found.
identityDocument
- The data of the identity document to recognize identity document information from.length
- The exact length of the data.SyncPoller
that polls the recognize identity Document operation until it has completed,
has failed, or has been cancelled. The completed operation returns a list of RecognizedForm
.FormRecognizerException
- If recognize operation fails and the AnalyzeOperationResult
returned with
an OperationStatus.FAILED
.NullPointerException
- If identityDocument
is null.public SyncPoller<FormRecognizerOperationResult,List<RecognizedForm>> beginRecognizeIdentityDocuments(InputStream identityDocument, long length, RecognizeIdentityDocumentOptions recognizeIdentityDocumentOptions, Context context)
The service does not support cancellation of the long running operation and returns with an error message indicating absence of cancellation support
Code sample
Snippet 'com.azure.ai.formrecognizer.FormRecognizerClient.beginRecognizeIdentityDocuments#InputStream-long-RecognizeIdentityDocumentOptions-Context' not found.
identityDocument
- The data of the identity document to recognize information from.length
- The exact length of the data.recognizeIdentityDocumentOptions
- The additional configurable
options
that may be passed when analyzing an identity document.context
- Additional context that is passed through the HTTP pipeline during the service call.SyncPoller
that polls the recognize identity document operation until it has completed,
has failed, or has been cancelled. The completed operation returns a list of RecognizedForm
.FormRecognizerException
- If recognize operation fails and the AnalyzeOperationResult
returned with
an OperationStatus.FAILED
.NullPointerException
- If identityDocument
is null.Copyright © 2021. All rights reserved.