你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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