Since upgrade to Sonoma, the Image on the screen condition stopped working correctly. I had to increase the fuzziness significantly for KBM to recognize the image, but now it does not distinguish between the blue and grey backgrounds of the image. (The goal is to return true with the blue, but not grey image). It worked perfectly fine on previous MacOS.
Is it a KBM bug? Sonoma bug? How to fix it.
I just had a quick check and had no issues with Sonoma.
Looking at the matches you show, they look very tall - are they twice as tall as the SOAP image you are trying to match. Because that is what it looks like which would indicate a Retina issue. How are you copying the image to search for? I used the built in screen capture, copied the section, pasted it in to the image and it matched fine.
You are absolutely correct, thank you, Peter!
Not sure why DPI for the screenshot action changed with upgrade to Sonoma. It was reported among the Apple developer's community as a bug. However I did not find how to change it. It appears that write com.apple.screencapture does not have a DPI setting to change. Using external app helped. Hope Apple will fix it.