GetWindowRect (hwnd) img = ImageGrab.grab(bbox=rect) img_np = np.array(img) return cv2.cvtColor(img_np, cv2.COLOR_RGB2BGR).
確定! 回上一頁