← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #228095]: differentiate text color?

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
There are no possibilities in the current version, that make really
sense.

Starting with the next version 1.1 we will try to improve the text
features.

--- ...try to do matches on each digit, in each position, for each color
Since each comparison for one digit is in a very small region, the comparison itself should be very fast (range of milliseconds). This could be optimized, by taking the captured screenimage of the first check and do the other 29 checks with a Finder().find().
and if the numbers are spread even, then it is only 750 searches on average ;-)
So if you get it optimized, you might get an average of 1-2 sec for a 5 digit number.

Interesting problem, but I do not think it is really worth the effort
:-((

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