How to use found image on just the active window

No. There is no way to restrict the area that Keyboard Maestro searches for images.

There is this inspired/insane macro which can search through all matches.

In the future I will likely add a collection of found image locations you can iterate through.