Skip to main content

Read Barcode

Description

This Activity detects and decodes the BarCode(s) in the specified image.

Properties

Input

  • Image Path – Path of the image file to be processed.

Misc

  • DisplayName – Add a display name to your Activity.
  • Private – By default, Activity will log the values of your properties inside your workflow. If private is selected, then it stops logging.

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

  • Barcode(s) Data – The decoded content of BarCode(s). A list of string with each item holding decoded content of one specific Barcode. If the Barcode is absent, it throws an error as No Barcode(s) were detected in the image or invalid image.

Example

The example process attached below demonstrates the usage of the Read BarCode activity. The process, when executed, brings up a file selection dialog to select either a PDF or any image file. It then passes the input image file or the first page of the PDF file as an image to the Read BarCode activity. It will then display the decoded content of all the BarCode(s) in the image file.

Download Example

Read BarCode