I was very curious whether I could use the .NET Framework to capture an image of an active monitor to create light zones for the Ambient Light backlight.
For these purposes, a simple program was written that captured a frame from the screen in an infinite loop, calculated the average color for each zone selected along the perimeter, and displayed the result in a preview.
The result, taking into account the absolute lack of optimization of the code, seemed very encouraging. Based on this, it was decided to write an application for controlling custom backlighting based on an AVR-based microcontroller.