怎么把
from PIL import ImageGrab
import numpy as np
screenshot = ImageGrab.grab(bbox=(nw_x, nw_y, se_x, se_y))
得到的screenshot(Image)转化为ndarray形式?
怎么把
from PIL import ImageGrab
import numpy as np
screenshot = ImageGrab.grab(bbox=(nw_x, nw_y, se_x, se_y))
得到的screenshot(Image)转化为ndarray形式?