没有说明没有举例,仅供个人理解:
import pyautogui
import time
pyautogui.FAILSAFE = True
# main
def main():
time.sleep(3)
region = (646, 509, 320, 22)
while True:
img = pyautogui.screenshot(region=region) # 执行截图 定位(646*509) 目标宽高(324*112)
for x in range(40, 320, 80): # 40 120 200
1