MarketplaceStudioActivityImage Activities - Image Comparison

Create your first automation in just a few minutes.Try Studio Web

Image Activities - Image Comparison

Image Activities - Image Comparison

by Internal Labs

4

Activity

Downloads

9.4k

Rohit Tarle Tarle
Posted a year ago

this will mot compatible for window. Please make it compatible.

Thiripurasundari
Posted 2 years ago

Hi,

Can you please provide Windows framework version to use Image Comparison?

Sandro Giongo
Posted 3 years ago

Hello!

I'm having this error:

------------------------------------------------------------------------------------

20.10.2+Branch.master.Sha.cf481ddc1ae94ab83e743f85d96fbfeca8fc705c

The following package(s) can not be installed: 

UiPathTeam.ImageComparison.Activities 2.1.0

------------------------------------------------------------------------------------

This is the output panel:

Cannot load assembly: C:\Users\******\.nuget\packages\uipathteam.imagecomparison.activities/1.0.0\lib/net461/UiPathTeam.ImageComparison.Activities.dll : System.TypeLoadException: Could not load type 'ImageMagick.ErrorMetric' from assembly 'Magick.NET-Q8-AnyCPU, Version=7.23.1.0, Culture=neutral, PublicKeyToken=2004825badfa91ec'.

   at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes)

   at System.Reflection.RuntimeAssembly.GetExportedTypes()

   at UiPath.Studio.Plugin.Workflow.Services.AssemblyContainer.AddAssemblyInternal(Assembly assembly, String path)

   at UiPath.Studio.Plugin.Workflow.Services.AssemblyContainer.c__DisplayClass9_0.b__0(Tuple`2 range)

------------------------------------------------------------------------------------

My studio version is 20.10.2, and the project is new. These are the dependencies installed (by default):

- UiPath.Excel.Activities 2.9.3

- UiPath.Mail.Activities 1.9.3

- UiPath.System.Activities 20.10.1

- UiPath.UIAutomation.Activities 20.10.6

------------------------------------------------------------------------------------

Is there something I can do? I tried to install all versions of this dependency.

Başak Demirel Kaçmaz
Posted 4 years ago

Hello,

I am trying to install the package from UiPath but it gives me following error.

21.4.4+Branch.master.Sha.a8b5101efe02651274064093e9c7410fedff7696

The following package(s) can not be installed: 

UiPathTeam.ImageComparison.Activities 2.1.0

Could you help me please? 

Thank you

Mihai Pantea
Posted 4 years ago ago

Can you try installing the package is a fresh new project? I tried it on Studio 21.4.4 and it worked. If it does work when installed in a fresh project, can you send me the other package names used in the project where the installation failed? Maybe there is an incompatibility with another package.

Christopher Bolin
Posted 4 years ago

I am having difficulty updating the packages moving from 2019.10.4 to 2020.10.6 with activity package 2.1.0.  Is 2.0.0 the most recent I can use in 2020.10.6?

Mihai Pantea
Posted 4 years ago ago

Hi Christopher, I've installed Studio 2020.10.6, created a new project that uses the 2.0.0 version, checked that it operated correctly, then upgraded to 2.1.0 without any issues. Can you expand on your issue? What are the other dependencies of the project? Are you getting an error?

You can get in touch with me at mihai.pantea@uipath.com for more details.

Alex Galbutdinov
Posted 4 years ago

Hi,

I am trieng to intall the package but it fails every time. I get a warning: The following package can not be installed.

I have tried al the versions.

Let me know if you can help.

aleksandr.galbutdinov@roborana.nl

I have solved the issue

Mihai Pantea
Posted 4 years ago ago

Please try to install it in a new/fresh project. If that works, then please try to add the other packages you require in your project one by one, and if you get an issue with any of them, let me know which one. What version of Studio are you using?

roopali jain
Posted 4 years ago

Hi, I am trying to use the comparison method using the threshold. Can you please provide an example of how to use structural similarity error-index particularly, I am not able to decide which value to provide in the threshold variable?

I went through those links: https://www.imagemagick.org/Usage/compare/#statistics.

When I provide two similar images, the distortion value is 1, and the boolean is true. 

If I provide 1 as the threshold value and it will return TRUE for cases where images are not similar also and distortion is less than 1 like 0.34, 0.5. If the threshold value is not 1 then similar images case boolean will be false. This situation is very tricky. Giving threshold value as 1 not providing correct results. 

Any help would be appreciated.

Thanks in Advance.

Mihai Pantea
Posted 4 years ago ago

Fred Weinhaus has a good explanation for using the ssim method here: http://www.fmwconcepts.com/imagemagick/ssim/index.php. Hope this helps.

Halil İbrahim Akçay
Posted 4 years ago

hello 

I tried all versions but it gives the error below how to install can you help me ?

The following package(s) cannot be installed: UiPathTeam.ImageComparison.Activities 2.0.0

halilibrahim.akcay07@gmail.com

Mihai Pantea
Posted 4 years ago ago

Does it give you any other indication as to why it can't install the package?

Can you post the whole error message?

Could you also try the 2.1.0 version?

Farzan Al-Hafiz
Posted 5 years ago

Hello, Can anyone explain me the different selection in the ErrorMetric dropdown list property for the "Compare Two Image Files Using Threshold". And what is the scale range for the threshold?

Mihai Pantea
Posted 5 years ago ago

Please see the previous comment, and checkout the instructions over at https://www.imagemagick.org/Usage/compare/#statistics

Raji Ragavan
Posted 5 years ago

Hi , I was able to use pixel by pixel difference activity but I am trying to use the comparison method using threashold . Can you please provide an example how to use as am not able to decide which value to provide in the threshold variable. 

Can you please suggest is there any  way i can get the result image highligthing the differences. 

Thanks in advance.

Mihai Pantea
Posted 5 years ago ago

Hi, 

The "Compare Two Image Files Using Threshold" activity uses the Magick.NET library (as specified in the dependencies list) which is a .NET wrapper over the popular ImageMagick library for working with and comparing images.

They have a great article that explains the various metrics and how to work with thresholds over at https://www.imagemagick.org/Usage/compare/#statistics

Moreover, by setting the DeltaImageFilePath property you can save the resulting diff image (see https://www.imagemagick.org/Usage/compare/#difference)

Sukhomlyn Artem
Posted 5 years ago

Hi.

I've tried to compare the same images and different ones, but there is no any result https://prnt.sc/r06y61

Mihai Pantea
Posted 5 years ago ago

You have to provide a boolean variable (that you create) to the ComparisonResult activity field. This variable will be populated with either "True" or "False" should the comparison reveal a match or not respectively.

Kyle Brown
Posted 6 years ago

Hey - I tried installing both ways and also previous versions - It's with Community version (I can see the Dependencies for it in the Projects part, but no Activities..

Mihai Pantea
Posted 6 years ago ago

They should be in the Activities tree under *UiPathTeam* > *Images*

Publisher

Internal Labs

Visit publisher's page

License & Privacy

License Agreement

Privacy Terms

Technical

Version

2.1.0

Updated

April 27, 2020

Works with

Studio: 21.10 - 22.10

Certification

Silver Certified

Support

UiPath Community Support