public final class FormRecognizerAsyncClient extends Object
Instantiating an asynchronous Form Recognizer Client
Snippet 'com.azure.ai.formrecognizer.FormRecognizerAsyncClient.instantiation' not found.
FormRecognizerClientBuilder
Modifier and Type | Method and Description |
---|---|
PollerFlux<FormRecognizerOperationResult,List<RecognizedForm>> |
beginRecognizeBusinessCards(Flux<ByteBuffer> businessCard,
long length)
Recognizes business card data using optical character recognition (OCR) and a prebuilt business card
trained model.
|
PollerFlux<FormRecognizerOperationResult,List<RecognizedForm>> |
beginRecognizeBusinessCards(Flux<ByteBuffer> businessCard,
long length,
RecognizeBusinessCardsOptions recognizeBusinessCardsOptions)
Recognizes business card data from documents using optical character recognition (OCR)
and a prebuilt business card trained model.
|
PollerFlux<FormRecognizerOperationResult,List<RecognizedForm>> |
beginRecognizeBusinessCardsFromUrl(String businessCardUrl)
Recognizes business card data using optical character recognition (OCR) and a prebuilt business card trained
model.
|
PollerFlux<FormRecognizerOperationResult,List<RecognizedForm>> |
beginRecognizeBusinessCardsFromUrl(String businessCardUrl,
RecognizeBusinessCardsOptions recognizeBusinessCardsOptions)
Recognizes business card data using optical character recognition (OCR) and a prebuilt business card trained
model.
|
PollerFlux<FormRecognizerOperationResult,List<FormPage>> |
beginRecognizeContent(Flux<ByteBuffer> form,
long length)
Recognizes content/layout data using optical character recognition (OCR).
|
PollerFlux<FormRecognizerOperationResult,List<FormPage>> |
beginRecognizeContent(Flux<ByteBuffer> form,
long length,
RecognizeContentOptions recognizeContentOptions)
Recognizes content/layout data using optical character recognition (OCR).
|
PollerFlux<FormRecognizerOperationResult,List<FormPage>> |
beginRecognizeContentFromUrl(String formUrl)
Recognizes content/layout data from documents using optical character recognition (OCR).
|
PollerFlux<FormRecognizerOperationResult,List<FormPage>> |
beginRecognizeContentFromUrl(String formUrl,
RecognizeContentOptions recognizeContentOptions)
Recognizes layout data from documents using optical character recognition (OCR) and a custom trained
model.
|
PollerFlux<FormRecognizerOperationResult,List<RecognizedForm>> |
beginRecognizeCustomForms(String modelId,
Flux<ByteBuffer> form,
long length)
Recognizes form data from documents using optical character recognition (OCR) and a custom trained
model with or without labels.
|
PollerFlux<FormRecognizerOperationResult,List<RecognizedForm>> |
beginRecognizeCustomForms(String modelId,
Flux<ByteBuffer> form,
long length,
RecognizeCustomFormsOptions recognizeCustomFormsOptions)
Recognizes form data from documents using optical character recognition (OCR) and a custom trained
model with or without labels.
|
PollerFlux<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.
|
PollerFlux<FormRecognizerOperationResult,List<RecognizedForm>> |
beginRecognizeCustomFormsFromUrl(String modelId,
String formUrl,
RecognizeCustomFormsOptions recognizeCustomFormsOptions)
Recognizes form data from documents using optical character recognition (OCR) and a custom trained
model.
|
PollerFlux<FormRecognizerOperationResult,List<RecognizedForm>> |
beginRecognizeIdentityDocuments(Flux<ByteBuffer> 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.
|
PollerFlux<FormRecognizerOperationResult,List<RecognizedForm>> |
beginRecognizeIdentityDocuments(Flux<ByteBuffer> identityDocument,
long length,
RecognizeIdentityDocumentOptions recognizeIdentityDocumentOptions)
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.
|
PollerFlux<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.
|
PollerFlux<FormRecognizerOperationResult,List<RecognizedForm>> |
beginRecognizeIdentityDocumentsFromUrl(String identityDocumentUrl,
RecognizeIdentityDocumentOptions recognizeIdentityDocumentOptions)
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.
|
PollerFlux<FormRecognizerOperationResult,List<RecognizedForm>> |
beginRecognizeInvoices(Flux<ByteBuffer> invoice,
long length)
Recognizes invoice data using optical character recognition (OCR) and a prebuilt invoice
trained model.
|
PollerFlux<FormRecognizerOperationResult,List<RecognizedForm>> |
beginRecognizeInvoices(Flux<ByteBuffer> invoice,
long length,
RecognizeInvoicesOptions recognizeInvoicesOptions)
Recognizes invoice data from documents using optical character recognition (OCR)
and a prebuilt invoice trained model.
|
PollerFlux<FormRecognizerOperationResult,List<RecognizedForm>> |
beginRecognizeInvoicesFromUrl(String invoiceUrl)
Recognizes invoice data using optical character recognition (OCR) and a prebuilt invoice trained
model.
|
PollerFlux<FormRecognizerOperationResult,List<RecognizedForm>> |
beginRecognizeInvoicesFromUrl(String invoiceUrl,
RecognizeInvoicesOptions recognizeInvoicesOptions)
Recognizes invoice data using optical character recognition (OCR) and a prebuilt invoice trained
model.
|
PollerFlux<FormRecognizerOperationResult,List<RecognizedForm>> |
beginRecognizeReceipts(Flux<ByteBuffer> receipt,
long length)
Recognizes receipt data using optical character recognition (OCR) and a prebuilt receipt
trained model.
|
PollerFlux<FormRecognizerOperationResult,List<RecognizedForm>> |
beginRecognizeReceipts(Flux<ByteBuffer> receipt,
long length,
RecognizeReceiptsOptions recognizeReceiptsOptions)
Recognizes receipt data from documents using optical character recognition (OCR)
and a prebuilt receipt trained model.
|
PollerFlux<FormRecognizerOperationResult,List<RecognizedForm>> |
beginRecognizeReceiptsFromUrl(String receiptUrl)
Recognizes receipt data using optical character recognition (OCR) and a prebuilt receipt trained
model.
|
PollerFlux<FormRecognizerOperationResult,List<RecognizedForm>> |
beginRecognizeReceiptsFromUrl(String receiptUrl,
RecognizeReceiptsOptions recognizeReceiptsOptions)
Recognizes receipt data using optical character recognition (OCR) and a prebuilt receipt trained
model.
|
public PollerFlux<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.FormRecognizerAsyncClient.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.PollerFlux
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 formUrl
, modelId
is null.public PollerFlux<FormRecognizerOperationResult,List<RecognizedForm>> beginRecognizeCustomFormsFromUrl(String modelId, String formUrl, RecognizeCustomFormsOptions recognizeCustomFormsOptions)
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.FormRecognizerAsyncClient.beginRecognizeCustomFormsFromUrl#string-string-RecognizeCustomFormsOptions' 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.PollerFlux
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 formUrl
, modelId
is null.public PollerFlux<FormRecognizerOperationResult,List<RecognizedForm>> beginRecognizeCustomForms(String modelId, Flux<ByteBuffer> 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.
Note that thedata
passed must be replayable if retries are enabled (the default). In other words, the
Flux
must produce the same data each time it is subscribed to.
Code sample
Snippet 'com.azure.ai.formrecognizer.FormRecognizerAsyncClient.beginRecognizeCustomForms#string-Flux-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.PollerFlux
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 PollerFlux<FormRecognizerOperationResult,List<RecognizedForm>> beginRecognizeCustomForms(String modelId, Flux<ByteBuffer> form, long length, RecognizeCustomFormsOptions recognizeCustomFormsOptions)
The service does not support cancellation of the long running operation and returns with an error message indicating absence of cancellation support.
Note that thedata
passed must be replayable if retries are enabled (the default). In other words, the
Flux
must produce the same data each time it is subscribed to.
Code sample
Snippet 'com.azure.ai.formrecognizer.FormRecognizerAsyncClient.beginRecognizeCustomForms#string-Flux-long-RecognizeCustomFormsOptions' 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.PollerFlux
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 PollerFlux<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.FormRecognizerAsyncClient.beginRecognizeContentFromUrl#string' not found.
formUrl
- The URL of the form to analyze.PollerFlux
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 formUrl
is null.public PollerFlux<FormRecognizerOperationResult,List<FormPage>> beginRecognizeContentFromUrl(String formUrl, RecognizeContentOptions recognizeContentOptions)
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.FormRecognizerAsyncClient.beginRecognizeContentFromUrl#string-RecognizeContentOptions' 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.PollerFlux
that polls the recognized content/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 PollerFlux<FormRecognizerOperationResult,List<FormPage>> beginRecognizeContent(Flux<ByteBuffer> 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.
Note that thedata
passed must be replayable if retries are enabled (the default). In other words, the
Flux
must produce the same data each time it is subscribed to.
Code sample
Snippet 'com.azure.ai.formrecognizer.FormRecognizerAsyncClient.beginRecognizeContent#Flux-long' not found.
form
- The data of the form to recognize content information from.length
- The exact length of the data.PollerFlux
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 PollerFlux<FormRecognizerOperationResult,List<FormPage>> beginRecognizeContent(Flux<ByteBuffer> form, long length, RecognizeContentOptions recognizeContentOptions)
The service does not support cancellation of the long running operation and returns with an error message indicating absence of cancellation support.
Note that thedata
passed must be replayable if retries are enabled (the default). In other words, the
Flux
must produce the same data each time it is subscribed to.
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.FormRecognizerAsyncClient.beginRecognizeContent#Flux-long-RecognizeContentOptions' 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.PollerFlux
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 PollerFlux<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.FormRecognizerAsyncClient.beginRecognizeReceiptsFromUrl#string' not found.
receiptUrl
- The URL of the receipt to analyze.PollerFlux
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 receiptUrl
is null.public PollerFlux<FormRecognizerOperationResult,List<RecognizedForm>> beginRecognizeReceiptsFromUrl(String receiptUrl, RecognizeReceiptsOptions recognizeReceiptsOptions)
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.FormRecognizerAsyncClient.beginRecognizeReceiptsFromUrl#string-RecognizeReceiptsOptions' not found.
receiptUrl
- The source URL to the input receipt.recognizeReceiptsOptions
- The additional configurable options
that may be passed when analyzing a receipt.PollerFlux
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 receiptUrl
is null.public PollerFlux<FormRecognizerOperationResult,List<RecognizedForm>> beginRecognizeReceipts(Flux<ByteBuffer> 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. Note that thereceipt
passed must be replayable if retries are enabled (the default). In other words, the
Flux
must produce the same data each time it is subscribed to.
Code sample
Snippet 'com.azure.ai.formrecognizer.FormRecognizerAsyncClient.beginRecognizeReceipts#Flux-long' not found.
receipt
- The data of the document to recognize receipt information from.length
- The exact length of the data.PollerFlux
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 PollerFlux<FormRecognizerOperationResult,List<RecognizedForm>> beginRecognizeReceipts(Flux<ByteBuffer> receipt, long length, RecognizeReceiptsOptions recognizeReceiptsOptions)
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. Note that thereceipt
passed must be replayable if retries are enabled (the default). In other words, the
Flux
must produce the same data each time it is subscribed to.
Code sample
Snippet 'com.azure.ai.formrecognizer.FormRecognizerAsyncClient.beginRecognizeReceipts#Flux-long-RecognizeReceiptsOptions' not found.
receipt
- The data of the document 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.PollerFlux
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 PollerFlux<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.FormRecognizerAsyncClient.beginRecognizeBusinessCardsFromUrl#string' not found.
businessCardUrl
- The source URL to the input business card.PollerFlux
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 businessCardUrl
is null.public PollerFlux<FormRecognizerOperationResult,List<RecognizedForm>> beginRecognizeBusinessCardsFromUrl(String businessCardUrl, RecognizeBusinessCardsOptions recognizeBusinessCardsOptions)
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.FormRecognizerAsyncClient.beginRecognizeBusinessCardsFromUrl#string-RecognizeBusinessCardsOptions' 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.PollerFlux
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 businessCardUrl
is null.public PollerFlux<FormRecognizerOperationResult,List<RecognizedForm>> beginRecognizeBusinessCards(Flux<ByteBuffer> 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. Note that thebusinessCard
passed must be replayable if retries are enabled (the default).
In other words, the Flux
must produce the same data each time it is subscribed to.
Code sample
Snippet 'com.azure.ai.formrecognizer.FormRecognizerAsyncClient.beginRecognizeBusinessCards#Flux-long' not found.
businessCard
- The data of the document to recognize business card information from.length
- The exact length of the data.PollerFlux
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 PollerFlux<FormRecognizerOperationResult,List<RecognizedForm>> beginRecognizeBusinessCards(Flux<ByteBuffer> businessCard, long length, RecognizeBusinessCardsOptions recognizeBusinessCardsOptions)
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. Note that thebusinessCard
passed must be replayable if retries are enabled (the default).
In other words, the Flux
must produce the same data each time it is subscribed to.
Code sample
Snippet 'com.azure.ai.formrecognizer.FormRecognizerAsyncClient.beginRecognizeBusinessCards#Flux-long-RecognizeBusinessCardsOptions' not found.
businessCard
- The data of the document 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.PollerFlux
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 PollerFlux<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.FormRecognizerAsyncClient.beginRecognizeIdentityDocumentsFromUrl#string' not found.
identityDocumentUrl
- The source URL to the input identity document.PollerFlux
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 identityDocumentUrl
is null.public PollerFlux<FormRecognizerOperationResult,List<RecognizedForm>> beginRecognizeIdentityDocumentsFromUrl(String identityDocumentUrl, RecognizeIdentityDocumentOptions recognizeIdentityDocumentOptions)
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.FormRecognizerAsyncClient.beginRecognizeIdentityDocumentsFromUrl#string-RecognizeIdentityDocumentOptions' 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.PollerFlux
that polls the analyze 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 PollerFlux<FormRecognizerOperationResult,List<RecognizedForm>> beginRecognizeIdentityDocuments(Flux<ByteBuffer> 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.
Note that theidentityDocument
passed must be replayable if retries are enabled (the default).
In other words, the Flux
must produce the same data each time it is subscribed to.
Code sample
Snippet 'com.azure.ai.formrecognizer.FormRecognizerAsyncClient.beginRecognizeIdentityDocuments#Flux-long' not found.
identityDocument
- The data of the document to recognize identity document information from.length
- The exact length of the data.PollerFlux
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 PollerFlux<FormRecognizerOperationResult,List<RecognizedForm>> beginRecognizeIdentityDocuments(Flux<ByteBuffer> identityDocument, long length, RecognizeIdentityDocumentOptions recognizeIdentityDocumentOptions)
The service does not support cancellation of the long running operation and returns with an error message indicating absence of cancellation support.
Note that theidentityDocument
passed must be replayable if retries are enabled (the default).
In other words, the Flux
must produce the same data each time it is subscribed to.
Code sample
Snippet 'com.azure.ai.formrecognizer.FormRecognizerAsyncClient.beginRecognizeIdentityDocuments#Flux-long-RecognizeIdentityDocumentOptions' not found.
identityDocument
- The data of the document to recognize identity document information from.length
- The exact length of the data.recognizeIdentityDocumentOptions
- The additional configurable
options
that may be passed when analyzing an identity document.PollerFlux
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 PollerFlux<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 a invoice.Code sample
Snippet 'com.azure.ai.formrecognizer.FormRecognizerAsyncClient.beginRecognizeInvoicesFromUrl#string' not found.
invoiceUrl
- The URL of the invoice to analyze.PollerFlux
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 invoiceUrl
is null.public PollerFlux<FormRecognizerOperationResult,List<RecognizedForm>> beginRecognizeInvoicesFromUrl(String invoiceUrl, RecognizeInvoicesOptions recognizeInvoicesOptions)
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.FormRecognizerAsyncClient.beginRecognizeInvoicesFromUrl#string-RecognizeInvoicesOptions' not found.
invoiceUrl
- The source URL to the input invoice.recognizeInvoicesOptions
- The additional configurable options
that may be passed when analyzing a invoice.PollerFlux
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 invoiceUrl
is null.public PollerFlux<FormRecognizerOperationResult,List<RecognizedForm>> beginRecognizeInvoices(Flux<ByteBuffer> 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. Note that theinvoice
passed must be replayable if retries are enabled (the default). In other words, the
Flux
must produce the same data each time it is subscribed to.
Code sample
Snippet 'com.azure.ai.formrecognizer.FormRecognizerAsyncClient.beginRecognizeInvoices#Flux-long' not found.
invoice
- The data of the document to recognize invoice information from.length
- The exact length of the data.PollerFlux
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 PollerFlux<FormRecognizerOperationResult,List<RecognizedForm>> beginRecognizeInvoices(Flux<ByteBuffer> invoice, long length, RecognizeInvoicesOptions recognizeInvoicesOptions)
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. Note that theinvoice
passed must be replayable if retries are enabled (the default). In other words, the
Flux
must produce the same data each time it is subscribed to.
Code sample
Snippet 'com.azure.ai.formrecognizer.FormRecognizerAsyncClient.beginRecognizeInvoices#Flux-long-RecognizeInvoicesOptions' not found.
invoice
- The data of the document to recognize invoice information from.length
- The exact length of the data.recognizeInvoicesOptions
- The additional configurable options
that may be passed when analyzing a invoice.PollerFlux
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.Copyright © 2021. All rights reserved.