← Back to team overview

sikuli-driver team mailing list archive

[Bug 778925] Re: [request] find/findAll to accept list of patterns

 

Of course will this be implemented event based on the Java level.

The polling loop above was just a quick and dirty solution to implement this with basic Jython features.
It can be smoothed a little, by putting a wait(1) before the next poll starts. 

But somewhere inside will always be some polling loops. And the
resulting cpu usage depends more on the number of parallel searches
(which in turn are search loops with pauses (WaitScanRate)), then on the
fact, that we are polling.

Beginning next week I will upload test versions.

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/778925

Title:
  [request] find/findAll to accept list of patterns

Status in Sikuli:
  In Progress

Bug description:
  I wonder if it is possible to create effective algorithm to search for
  multiple patterns during single scan. I know this is possible for sure
  if similarity is 1.0. Anyway, it would be nice to have this ability
  for findAll function, where you need to find a lot of different images
  in one pass. Using `for image in list_of_patterns: stack +=
  findAll(image)` is very slow.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/778925/+subscriptions


References