Compare images and display differences and save the difference image

Asked by Raghuveer on 2020-10-05

Hi,

I have integrated sikulix with selenium , As part of this, i want to compare two images and save the difference image with some display of differences in saved image. can anyone please let me know ,How can i achieve it?

i am using below version of sikulix
<dependency>
    <groupId>com.sikulix</groupId>
    <artifactId>sikulixapi</artifactId>
    <version>2.0.4</version>
</dependency>

Question information

Language:
English Edit question
Status:
Answered
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Last query:
2020-10-05
Last reply:
2020-10-05

This question was reopened

RaiMan (raimund-hocke) said : #1

the feature Finder().findChanges() returns a list of rectangles in the image being different.

There is no feature, to apply this info and produce an appropriate image.

You might show the image somehow on the screen and use the highlight feature to mark the changes.

Can you help with this problem?

Provide an answer of your own, or ask Raghuveer for more information if necessary.

To post a message you must log in.