FindFailed with error message implying find success in SikuliX?

388 views Asked by At

I am writing a desktop grabber with the help of SikuliX (which is a Java wrapper around Sikuli) and it requires to search an image on the screen. Sometimes, I receive a FindFailed exception, but the error message looks like:

FindFailed: MYIMAGENAME.png: (26x27) seen at (1213, 795) with 0,99 in R[325,29 1040x807]@S(0) E:Y, T:3,0

Which obviously implies that image was seen at (1213, 795).

Then why did it throw the "not found" exception?

Maybe I can set the score threshold somehow?

0

There are 0 answers