This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from PIL import ImageGrab | |
import numpy as np | |
from Xlib import display | |
import cv2 | |
from openrgb import OpenRGBClient | |
from openrgb.utils import RGBColor | |
d = display.Display() | |
s = d.screen() | |
x, y = s.width_in_pixels, s.height_in_pixels |