I am trying to read multiple pixel using GDI plus python APIs. As the screen portion I am reading, is very small, while copying the screen to memory device context, I am consider only that particular portion.
As I am polling continuously, and comparing the new screen with old screen, it is causing high CPU usage. So I am wondering is there any efficient way to read the screen only when screen is updated ?