sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #19091
[Bug 1198108] [NEW] find and findAll don't return the same score
Public bug reported:
Hello,
Don't tell me the "find" function return only one match while the "findAll" function return a list of match. I know that.
My point is that the score return by these function are not the same.
This means that the function "find" and "exists" are able to find an image that the function "findAll" will not find.
---------------------------------------------------------------------------------------------------------------------
For example, the code :
cs = "img.png"
e = exists(cs)
print "exists:", e
f = find(cs)
print "find:", f
lfa = findAll(cs)
for fa in lfa:
print "findAll:", fa
return the following log:
exists: M[834,767 65x10]@S(0)[0,0 1920x1200] S:0,79 Center:866,772
find: M[834,767 65x10]@S(0)[0,0 1920x1200] S:0,79 Center:866,772
[error] script [ test_Skl ] stopped with error in line 9
[error] FindFailed ( can not find img.png on the screen. )
---------------------------------------------------------------------------------------------------------------------
To explain the above example :
I search three times the same image in the same background.
The functions exists are all found the same result with a score of 0.79.
But the "findAll" function has found no images with a similarity score higher than 0.7.
I have already reported in the Question #231864, but now I think it's an anormal issue.
I'm not very good in english. So if you have any problem or question, just tell me.
I will answer as quickly as I can.
I use the release 1.0.0 of Sikuli on Windows XP (32).
Regards.
** Affects: sikuli
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1198108
Title:
find and findAll don't return the same score
Status in Sikuli:
New
Bug description:
Hello,
Don't tell me the "find" function return only one match while the "findAll" function return a list of match. I know that.
My point is that the score return by these function are not the same.
This means that the function "find" and "exists" are able to find an image that the function "findAll" will not find.
---------------------------------------------------------------------------------------------------------------------
For example, the code :
cs = "img.png"
e = exists(cs)
print "exists:", e
f = find(cs)
print "find:", f
lfa = findAll(cs)
for fa in lfa:
print "findAll:", fa
return the following log:
exists: M[834,767 65x10]@S(0)[0,0 1920x1200] S:0,79 Center:866,772
find: M[834,767 65x10]@S(0)[0,0 1920x1200] S:0,79 Center:866,772
[error] script [ test_Skl ] stopped with error in line 9
[error] FindFailed ( can not find img.png on the screen. )
---------------------------------------------------------------------------------------------------------------------
To explain the above example :
I search three times the same image in the same background.
The functions exists are all found the same result with a score of 0.79.
But the "findAll" function has found no images with a similarity score higher than 0.7.
I have already reported in the Question #231864, but now I think it's an anormal issue.
I'm not very good in english. So if you have any problem or question, just tell me.
I will answer as quickly as I can.
I use the release 1.0.0 of Sikuli on Windows XP (32).
Regards.
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1198108/+subscriptions
Follow ups
References