I can't get matchImagesFeatures to work

I’m trying to use the matchImageFeatures method in my Appium framework, but I can’t get it to work properly. Please find my configuration below, and if anyone can help me resolve this problem, I would greatly appreciate it.

config :

  • Appium client version : 9.3.0
  • Appium server version : 2.12.1
  • images plugin version : [email protected]
  • jdk version : jdk-21.0.5.11-openj9

here is my code :

here is what I got in the Console :

result : io.appium.java_client.imagecomparison.FeaturesMatchingResult@87dfcecc
No match found.

I’m expecting to got the visualization like below :

I have already used other methods like “findImageOccurrence” and “getImagesSimilarity”, and they work properly, but the method “matchImagesFeatures” doesn’t work for me.

I specifically want to use “matchImagesFeatures” because it is more flexible and can handle scaling and rotation of images

Are you sure the provided images are in the proper format? The matchImagesFeatures accepts either base64-encoded byte arrays or File instances

1 Like

Yes you are right, I was parsing the wrong format .
thank you for your support :blush: