You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm making a small program that opens a window which contains a pyautogui.screenshot of their mouses position in a window, constantly.
In this window, the colors are incorrect, this seems to happen mainly to green and blue. This has happened on macOS and windows 10, with a viewsonic monitor and the Omen 15's display respectively.
This is my code;
import cv2
import pyautogui
import numpy
cursorpos = pyautogui.position()
while True == True:
im = numpy.array(pyautogui.screenshot(region=((cursorpos) + (250, 250))))
cursorpos = pyautogui.position()
cv2.imshow("where ur cursor is", im)
if cv2.waitKey(1) & 0xFF == ord('q'):
break
Any help would be greatly appreciated, and apologies if my code is formatted terribly, I am a beginner to programming in general.
The text was updated successfully, but these errors were encountered:
I'm making a small program that opens a window which contains a pyautogui.screenshot of their mouses position in a window, constantly.
In this window, the colors are incorrect, this seems to happen mainly to green and blue. This has happened on macOS and windows 10, with a viewsonic monitor and the Omen 15's display respectively.
This is my code;
Any help would be greatly appreciated, and apologies if my code is formatted terribly, I am a beginner to programming in general.
The text was updated successfully, but these errors were encountered: