FormRecognizerModelFactory.RecognizedForm Method

Definition

Initializes a new instance of the RecognizedForm class.

public static Azure.AI.FormRecognizer.Models.RecognizedForm RecognizedForm (string formType, Azure.AI.FormRecognizer.Models.FormPageRange pageRange, System.Collections.Generic.IReadOnlyDictionary<string,Azure.AI.FormRecognizer.Models.FormField> fields, System.Collections.Generic.IReadOnlyList<Azure.AI.FormRecognizer.Models.FormPage> pages, string modelId, float? formTypeConfidence);
static member RecognizedForm : string * Azure.AI.FormRecognizer.Models.FormPageRange * System.Collections.Generic.IReadOnlyDictionary<string, Azure.AI.FormRecognizer.Models.FormField> * System.Collections.Generic.IReadOnlyList<Azure.AI.FormRecognizer.Models.FormPage> * string * Nullable<single> -> Azure.AI.FormRecognizer.Models.RecognizedForm
Public Shared Function RecognizedForm (formType As String, pageRange As FormPageRange, fields As IReadOnlyDictionary(Of String, FormField), pages As IReadOnlyList(Of FormPage), modelId As String, formTypeConfidence As Nullable(Of Single)) As RecognizedForm

Parameters

formType
String

The type of form the model identified the submitted form to be.

pageRange
FormPageRange

The range of pages this form spans.

fields
IReadOnlyDictionary<String,FormField>

A dictionary of the fields recognized from the input document.

pages
IReadOnlyList<FormPage>

A list of pages describing the recognized form elements present in the input document.

modelId
String

Model identifier of model used to analyze form if not using a prebuilt model.

formTypeConfidence
Nullable<Single>

Confidence on the type of form the labeled model identified the submitted form to be.

Returns

A new RecognizedForm instance for mocking.

Applies to