public final class RecognizedForm extends Object
| Constructor and Description |
|---|
RecognizedForm(Map<String,FormField> fields,
String formType,
FormPageRange pageRange,
List<FormPage> pages)
Constructs a RecognizedForm object.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,FormField> |
getFields()
A map of the fields recognized from the input document.
|
String |
getFormType()
Get the recognized form type.
|
Float |
getFormTypeConfidence()
Get the confidence of the form type identified by the model.
|
String |
getModelId()
Get the identifier of the model that was used for recognition, if not using a prebuilt model.
|
FormPageRange |
getPageRange()
Get the first and last page number where the document is found.
|
List<FormPage> |
getPages()
Get the list of extracted pages.
|
public RecognizedForm(Map<String,FormField> fields, String formType, FormPageRange pageRange, List<FormPage> pages)
fields - Dictionary of named field values.formType - Form type.pageRange - First and last page number where the document is found.pages - List of extracted pages from the form.public Map<String,FormField> getFields()
public String getFormType()
public FormPageRange getPageRange()
public List<FormPage> getPages()
public Float getFormTypeConfidence()
public String getModelId()
Copyright © 2021 Microsoft Corporation. All rights reserved.