Analyze Document Layout
Description
This Activity analyzes the layout of the provided document using Azure Forms Recognizer Service.
note
This Activity works only inside the Azure Context activity.
note
This Activity requires the Azure Forms Recognizer Resource endpoint URL. To deploy it, refer to Azure Forms Resource.
Properties
Input
-
Document File – Specify the absolute path to the form file in either image or PDF format.
-
Options - Analysis options available for analyzing document layout.
Option | Description |
---|---|
Formulas | Enables the detection of mathematical expressions in the document. |
Languages | Enables the detection of the text content language. |
Barcodes | Enables the detection of barcodes in the document. |
Font Styling | Enables the recognition of various font styles. |
OCR Higher Resolution | Performs OCR at a higher resolution to handle documents with fine print. |
Misc
- DisplayName – Add a display name to your Activity.
- Private – Logs the variable and argument values at the Verbose level when unchecked.
Optional
- Continue On Error – It Specifies whether the automation should continue even when the Activity throws an error. If True, the Activity continues without throwing any exceptions. If False, the Activity throws an exception. The default value is False.
note
Catches no error if this Activity is present inside the Try-Catch block and the value of this property is True.
Output
- Analysis Result – Returns the analysis result in the form of AnalysisResult datatype for the input document.
- Raw Response - JSON string containing the response received as is from Azure.
Example
Download Example