import pyautogui
while True:
x, y = pyautogui.position()
print(pyautogui.screenshot().getpixel((x,y)))
Python——获取屏幕任意位置像素值
最新推荐文章于 2024-05-11 11:46:01 发布
import pyautogui
while True:
x, y = pyautogui.position()
print(pyautogui.screenshot().getpixel((x,y)))