← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #222616]: Image processing library

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
OpenCV: matchTemplate()

the target image on the screen (or in the given image) has to be the
same size regarding pixels as the given probe (the image to search or
compare) to match. If all pixels in the rectangle's probe are the same
as in the target on the screen the match score is 1.0. Some slight color
differences lead to lower scores.

e.g. the image of an active button (fully colored and bright) is found
with a score of 1.0. If it is deactivated (less bright, grayed) the
button might still be found with a score significant score (> 0.7).

The probes have to be rectangles, transparency is not supported yet and
it should concentrate on the significant parts of the image (as little
background as possible).

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