Image Enhancement

This activity is used to improve the quality of an image that is used for processing.

Technical Reference:

 

 

 

 

 

IMAGE ATTRIBUTES

BackgroundCleanAndBold: Specify True to clean the background and bold the characters.

EdgeEnhancement: Specify true to enhance the edge of the characters

ResizeScale: Specify the resize image value.

Sharpening: Specify true to sharpen the image/characters

 

 

INPUT

ImageInput: Specify the path of the image file to be processed.

InputType: Select from the drop down if the input given is in path or bytes.

 

 

 

 

 

 

 

 

MISC

Display Name: Displays the name of the activity. You can also customize the activity name to help troubleshoot issues faster. This name will be used for logging purposes.

SkipOnError: It specifies whether to continue executing the workflow even if it throws an error. This supports only Boolean value “True or False.”

True: Continues to execute the workflow irrespective of any error thrown.

False: Stops the workflow if it throws any error

Version: It specifies the version of the smart RPA cognitive feature in use.

 

OUTPUT

ImageOutput: Declare a variable here to save the output file.

OutputType: Specify if the output type is in path or bytes.

 

 

 

 

SNIPPED IMAGE INPUTS

Height: Height gets auto filled once the image is snipped

OnScreen: Specify true if the on-screen area has to be enhanced

UseWindowTitle: Check this box to use the window title.

Width: Width gets auto filled once the image is snipped.

WindowTitle: The window title gets recorded once the image is snipped.

X: Gets auto filled once the image is snipped

Y: Gets auto filled once the image is snipped.

* Mandatory fields to execute the workflow.

Use case:

The following example illustrates how we are going to use the image enhancement activity to enhance the given image.

            

Example:

1.      Drag and drop an image enhancement activity into the workflow.

2.      Double click on the activity

3.      Click on snip to snip an image that has to be processed.

4.      Specify true for the property background clean and bold.

5.      Enter the declared variable in the output box.

6.      Select the on-screen image as true.

7.      Execute the workflow.

 

The bot executes the activity and enhances the image with the given inputs.