[1.1.3] findAll fails but image exists --- workaround --- fixed in 1.1.4
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
Confirmed
|
Undecided
|
RaiMan |
Bug Description
*******
;-) best workaround is to use 1.1.4
for 1.1.3:
using exists(), wait() or find() and getting a similarity score of x, then with findAll() the same image might come up with a score of x - 0.03 down to x - 0.1.
so using
exists(
then this will assure, to come back with the same result (first match):
findAll(
-------
Code
def Find_All_
if exists(
v_Pos = find(v_Image)
print "v_Pos",v_Pos
print "hovering"
v_Result = findAll(v_Image)
else:
print "Not Found"
v_Image_p = "/home/
sx = 422 ; sy = 132 ; sw = 505 ; sh = 270
setRect(
g_Find_Matching = 0.85
for i in range(20):
print "^ " * 40 ,"Try", g_Find_Matching
v_Image = Pattern(
Find_
g_Find_Matching = g_Find_Matching - 0.01
Changed in sikuli: | |
status: | New → Opinion |
milestone: | none → 1.1.4 |
importance: | Undecided → Low |
assignee: | nobody → RaiMan (raimund-hocke) |
Changed in sikuli: | |
status: | Opinion → Invalid |
milestone: | 1.1.4 → none |
importance: | Low → Undecided |
Changed in sikuli: | |
status: | Invalid → Confirmed |
summary: |
- [1.1.3] findAll fails but image exists + [1.1.3] findAll fails but image exists --- workaround |
description: | updated |
Image