BluePlumStudio / FK-Onmyoji

阴阳师抗检测多功能脚本

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

opencv

MoZhongBai opened this issue · comments

我好像没找到代码中有opencv的操作,因为最近在学opencv,望解答

def getImagePositionInScreenshot(self,imagePath,screenshot,accuracy=0.9):
        return pyautogui.locate(imagePath,screenshot,confidence=accuracy)

看起来好像是这段,直接调用的 pyautogui 方法

commented

用的是pyautogui中的图片识别 而非opencv中的模板匹配