问题描述
我想尝试自动化我的缩放类,但 pyautogui 图像识别无法正常工作,它显示了我图像的错误坐标,任何解决方案都会有所帮助。
from pyautogui import *
import pyautogui
import image
import time
import random
from datetime import datetime
find = pyautogui.locateCenterOnScreen("/Users/kumarsashank/Downloads/Bot/discord.png",grayscale=True,confidence=.9)
print(find)
pyautogui.moveto(find)
pyautogui.click()
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)