~ubuntu-branches/ubuntu/utopic/sikuli/utopic

« back to all changes in this revision

Viewing changes to docs/source/faq/050-tuning-sikuli.rst

  • Committer: Bazaar Package Importer
  • Author(s): Gilles Filippini
  • Date: 2011-10-04 23:32:13 UTC
  • mfrom: (4.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20111004233213-36fm78hx0z53tkuw
Tags: 1.0~x~rc3-dfsg1-2
* New patch fix-cmake-sikuli-ide.patch:
  + Fix random FTBFS due to missing inter target dependency

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Sikuli is too slow or not robust. What can I do?
 
2
================================================
 
3
 
 
4
You can tune a parameter of the vision algorithm, :ref:`MinTargetSize <min-target-size>`, to speed up the matching process or make it more robust.
 
5
 
 
6
 
 
7
.. sikulicode::
 
8
 
 
9
   from org.sikuli.script.natives import Vision
 
10
 
 
11
   Vision.setParameter("MinTargetSize", 6) # A small value such as 6 makes the matching algorithm be faster.
 
12
   Vision.setParameter("MinTargetSize", 18) # A large value such as 18 makes the matching algorithm be more robust.
 
13
 
 
14