How to capture screen on Wayland (Gnome) in Python code?
I'm trying to capture my screen with Python because I will be using it on OpenCV, but couldn't find a way to get it to work on Gnome as Gnome uses Wayland and all the libraries I found only work with X11.
I'm not going to change my interface yet. I am looking for a solution to this problem. Does anyone know a solution?
To be more specific, I will be using images for AI training and therefore I need them all the time.
EDIT: I found this , but how can I stream OpenCV frames to Python instead of saving a video file?
+3
source to share
No one has answered this question yet
Check out similar questions: