Updated 2022-05-21 1
Viewed 5 times

I'm not sure how to describe what I am trying to do but ill give it a shot. I have used TensorFlow and OpenCV to open my laptop's camera to detect images. Simple stuff.

Now I want to open my laptop's screen to detect images. For example, I want to be able to play games and perform tasks like clicking buttons and such. I know that pyautogui exists but it's too slow for my use.

In conclusion, is there any module out there that can reliably get live stable footage of my laptop's screen and me able to implement actions like clicking? I hope that is enough information.

🔴 No definitive solution yet
📌 Solution 1

There are several modules that provides a solution, it depends on what you intend to use it for. Some examples:

  • PIL
  • OpenCV
  • pyautogui

Since you already have dabbled in OpenCV a similar question has been answered here.