← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #150551]: Which makes faster scans, increasing or decreasing similarity

 

Question #150551 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/150551

RaiMan posted a new comment:
I have to correct the absolute values, since there is a "bug" in the
script:

x = 50
for s in [0.2, 0.99]:
 start = time.time()
 for i in range(x):
  m = find(Pattern("some_image.png").similar(s))
 print '***', s, (time.time()-start)*1000/x

 m.highlight(2)

e.g. searching on a screen of 1280x800 in average an image of 600 x 500
is matched at 0.2 after 1.1 sec and with 0.99 after 2.3 sec.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.