Get OCR Text

You can select this activity to extract a string and the related information from a document or an image. The jpg, jpeg, png, and pdf version are supported. The extracted output is in the JToken format. You can use the “JQ Transform” activity to filter the output.

This table lists the properties for the activity.

Property Type Property Name Data Type Description
Common Continue on error Boolean The option to continue the RPA flow even if the activity fails. This check box is selected by default.
Input FilePath String The location of the file from which text must be extracted using OCR.
Execute Boolean The option to execute or skip the external API based on the condition specified in the RPA Studio application. No external calls are made when the check box is not selected.
Pages String The pages from which the OCR must be extracted. You can select an individual page, comma separated individual pages, or a range of pages.
Misc DisplayName String The name to be displayed for the activity.
Output Response JToken The response from OCR endpoint.
Response Code Int32 The response code for the activity. Possible values:
  • 200 to 290: Indicates a successful response or valid output.
  • 400 to 499: Indicates client error responses.
  • 500 to 599: Indicates server error responses.