import numpy as npdef sjjt(xha,sjh,beitu,jl,xx,yy): #检查目标,并将目标指定范围内截图 pull_screenshot(xha,sjh,xx) #pull_screenshot(xh,sjh) # 截图 au='./tmall'+str(xx)+'.png' temp = cv2.imread(au) amn='./tmall'+str(yy)+'.png' target = cv2.imread(beitu) pos = find_butto…