MarketplaceListingsCustom ActivityImage Activities - Image Comparison

Image Activities - Image Comparison

Bronze Certified

Custom Activity

4 reviews

7.3k

Image Activities - Image Comparison

Bronze Certified

Custom Activity

4 reviews

7.3k


Summary

A package containing activities for comparing image files

carouselImage0

Overview

What
Activities that output an image file can have their results checked using an image comparison algorithm. The simplest of these is a pixel-by-pixel check for equality. More complex algorithms that take an error metric based threshold parameter can also be used. The latter are implemented using the Magick.NET library's Compare method.

Who
RPA developers, although QAs can also use it to run image specific scenarios.

How
Drag and drop the Compare Two Image Files Pixel By Pixel activity from under the UIPathTeam > Images node. Locate the two image files to be used in the comparison.
The activity returns a boolean that indicates whether or not the two inputted files are identical.

Drag and drop the Compare Two Image Files Using Threshold activity from under the UIPathTeam > Images node. Locate the two image files to be used in the comparison. Choose one of the available ErrorMetric values. An explanation regarding metrics can be found here. Set the required Threshold value. This represents the upper bound of the distortion based on the selected ErrorMetric for the two input images to be considered equal. The activity returns returns the computed Distortion. It also returns a boolean that indicates whether or not the two inputted files are equal based on the computed distortion and the Threshold value.

The supported image file types are:
  • PNG
  • JPEG
  • BMP
  • GIF
  • TIFF

Benefits


Published: 27 Apr 2020 | Updated: 18 Dec 2020


License

By clicking download you agree to the following license.


Code Language

Visual Basic


Runtime

Windows Legacy (.Net Framework 4.6.1)


Tags

compare
image
image comparison
pixel
threshold
image compare

Compatibility

UiPath Studio 2018.4+


Dependencies

https://www.nuget.org/packages/Magick.NET-Q8-AnyCPU/ Magick.NET-Q8-AnyCPU - https://github.com/dlemstra/Magick.NET/blob/master/License.txt Apache 2.0 License


Similar Listings