pyautogui.locateOnScreen 한글경로 해결방법
because file is missing, has improper permissions, or is an unsupported or invalid format 한글 경로가 있으면 이런 오류가 나타납니다.. 해결방법은 numpy -> opencv -> pyautogui로 해결하면 됩니다. Tree구조는 이렇습니다. import os import pyautogui import numpy as np import cv2 path=os.path.dirname(os.path.realpath(__file__)) img = os.path.join(path,'이미지','img_002.png') n = np.fromfile(img, np.uint8) img = cv2.imdecode(n, cv2.IMREAD_COLOR)..