How to do image comparison through java

I need to do image comparison for iOS and Android both. Any way to do it?

This is a pretty generic ask… have you done any research on this? Appium can take screenshots of both Android and IOS, so that should be enough to get you started.

We use imagemagick. My automation is in Ruby, but there is support for Java:

I have done this but write now I am just getting result in string… Images are not same or images are same…need screenshot with difference highlighted In it

Thanks…lemme look into it

Thanks…done it successfully

Maybe you should try:

is it free or paid…?

I have issues using appium/appium/blob/master/docs/en/writing-running-appium/
Were you successful comparing images. Can you please assist me.
The error I see is below:
org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: opencv4nodejs module is required to use OpenCV features. Please install it first (npm i -g opencv4nodejs) and restart Appium. Read for more details on this topic.

Did you find the solution for this issue?

Hi Suswari
Have u solved that issue ., if solved kindly provide the step how the issue was solved …
if not im following up with that issue … kindly follow the issue tracker for it in the given link…, “