← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #231864]: find and findAll don't return the same score

 

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

obiwan-92 posted a new comment:
-- IDE preview feature.
not with the 1.0.1

-- Surely I have to look deeper.
You are welcome with any tips what can be improved or fixed. In this case the reason might be the usage of a Pattern with findAll(), because my version with just an image worked as expected.
--
RaiMan (raimund-hocke)

------------------------------------------------------------------------------------
Hi
Copy that. 
But I found the difference between the two scores dangerous anyway.
For example the code

if exists(img):
    for i in findAll(img):
        hover(i)

can be generated a findFailed exception, if exists found an image with a
higher score than 0.7, but the findAll found the best result with a
similarity score lower (like in my first example: 0.45 ).

I will try to find a workaround. I will post it as sonn as I can.

Thanks for your great works.
Regards

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