Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Find Image of slightly differently scaled graphics
#1
Hello,
I am attempting to use Find Image to locate different symbols on the screen. Some of these symbols are just slightly different than each other (scaled slightly differently) but I would like LA to treat them as the same symbol. I am been unsuccessful so far in trying to have LA locate the symbols as the same. Below is a link with 2 sets of symbols to illustrate what I am referring to. The two top and the two bottom symbols should be the same.
Thanks in advance

https://www.photo-pick.com/online/BcxO8uJ7.link
#2
If there are only few different symbols (don't need to find any similar symbol), the "find image" function (and the tool) supports multiple images, with "find any" logic.

Code:
Copy      Help
var w1 = wnd.find(1, "Photo Album - Brave", "Chrome_WidgetWin_1");
var c1 = w1.Child(1, "Chrome Legacy Window", "Chrome_RenderWidgetHostHWND");
IFImage[] image1 = {
    @"image:",
    @"image:",
};

var im1 = uiimage.find(1, c1, image1);
im1.MouseMove();
#3
Thank you very much Gintaras


Forum Jump:


Users browsing this thread: 1 Guest(s)