xpresser-team team mailing list archive
-
xpresser-team team
-
Mailing list archive
-
Message #00032
Xpresser image accuaracy
I have been using xpresser, mostly by just using coordinates instead of
images.
Lately I have been trying to do images, but find that I have to always use
an:
xpresser.ini file
with
similarity = 0.20
if I go any higher I will get the error that the image was not found:
File "working.py", line 25, in <module>
main()
File "working.py", line 17, in main
xp.wait('top_left',95)
File "/usr/lib/python2.7/site-packages/xpresser/xp.py", line 123, in wait
self.find(image, timeout)
File "/usr/lib/python2.7/site-packages/xpresser/xp.py", line 115, in find
raise ImageNotFound(image)
ImageNotFound: <xpresser.image.Image object at 0x36050d0>
environment:
uname -a
Linux localhost.localdomain 3.9.9-302.fc19.x86_64 #1 SMP Sat Jul 6 13:41:07
UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
I am on fedora 19 not Ubuntu - not sure if that is making a difference, but
wanted to send the message to see if others had to set such a low
similarity setting.
Follow ups