import pyautogui
import time
while True:
find_img = pyautogui.locateOnScreen('my_region.PNG')
if find_img==None:
print(find_img)
time.sleep(5)
else:
break
center = pyautogui.center(find_img)
print(center)
'컴퓨터 > Python' 카테고리의 다른 글
python 키보드 마우스 log (0) | 2019.05.25 |
---|---|
웹 스크래핑 (0) | 2019.05.25 |
Pynput 마우스 위치 찾기, 키보드 (0) | 2019.05.23 |
python pyautogui 기업농협로그인 ie webdriver (0) | 2019.05.22 |
python pillow 화면캡쳐 (0) | 2019.05.22 |