sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #55757
Re: [Question #692612]: Accelerate exists and finding image process to become fast
Question #692612 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/692612
Status: Needs information => Open
julien abou fadel gave more information on the question:
rival1 = {}
rival2 = {}
flop = {}
for x in range(2,15):
rival2[x] = [0,0,0,0]
flop[x] = [0,0,0,0]
rival1[x] = [0,0,0,0]
print "index 0 is trefle index 1 is coeur index 2 is pique index 3 is noir non trefle"
if exists(Pattern("1598432341089.png").exact()):
y = find(Pattern("1598432341089.png").exact())
if y.getY() > 510 and y.getY() < 684:
if y.getX() > 390 and y.getX() < 584:
rival1[2][0] = 1
else:
rival2[2][0] = 1
else:
flop[2][0] = 1
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.