Skip to main content

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.

OptionDescription
FormulasEnables the detection of mathematical expressions in the document.
LanguagesEnables the detection of the text content language.
BarcodesEnables the detection of barcodes in the document.
Font StylingEnables the recognition of various font styles.
OCR Higher ResolutionPerforms 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

Analyze Document Layout