xpresser-team team mailing list archive
-
xpresser-team team
-
Mailing list archive
-
Message #00033
Re: Xpresser image accuaracy
I have not run into your similarity issue, what desktop environment are you
using? can you create a tarball with your code and pictures?
are you using xp.wait("image-name")?
On Thu, Jul 25, 2013 at 3:58 PM, jared <afonit@xxxxxxxxx> wrote:
> 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.
>
> --
> Mailing list: https://launchpad.net/~xpresser-team
> Post to : xpresser-team@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~xpresser-team
> More help : https://help.launchpad.net/ListHelp
>
>
Follow ups
References