Comparing screenshots dynamically
Asked by
Hari Kiran Vankayala
Hi Raiman,
I would like to compare screenshots one is static (on my desktop) and second is from a website (after couple of operations)
Can sikuli do clear and precise image comparision?
Please check my code.
The issue here is the image with which i am comparing to the image from web page, i have knowingly did small change so that sikuli can capture but I am always getting 'Matching Image'
f = Finder(
setX(888)
setY(87)
setW(500)
setH(380)
x = getX()
y = getY()
w = getW()
h = getH()
img = capture(x,y,w,h)
print img
f.find(img) # find all matches
if f.hasNext():
print "Image is matching"
else:
print "Image is not matching"
f.destroy()
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Hari Kiran Vankayala
- Solved:
- Last query:
- Last reply:
To post a message you must log in.