← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #262834]: Speeding Up the Key Listening in a Game

 

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

RaiMan posted a new comment:
with version 1.1.0+ this is

from org.sikuli.natives import Vision
Vision.setParameter("MinTargetSize", -600)

- but a value < 0 definitely is nonsense.
the default is 12, meaning the length in pixels of one side of a rectangle.

- generally it is not proven, that  Vision.setParameter("MinTargetSize", n)
helps anything.

... but since I will not do anything with the native code (the stuff
behind Vision) besides replacing it with Java code, this will be changed
anyways with version 2.

The best approach to get robust solutions with Sikuli anyways is, to
create shots, that contain as little background as possible towards the
edges of the image and thus concentrate on the key visual aspects that
make this image unique in the current search region.

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