Currently learning opencv in Python. I want to do some image/pixel analysis with the screen.
With opencv/python, I wonder if there is a way to capture the visual content of a window of another software.
For example if I start a game in a window, I want opencv or python to capture the pixel content of that game window and run analysis for that content.
In the same fashion, if I play a fullscreen video with a video player, I would also like to capture the pixel content of the fullscreen and run analysis for that content with opencv/python.
I am not sure if opencv is the best way to do this. If you have suggestions for more suitable libraries, please let me know. Thank you.