We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I would like to display a video pixel's average over a couple of seconds. What would be the best method to.
To make the question simple, let's say I want to get the color of the center pixel of a video feed and fill a rectangle the size of the window to this particular color. To mitigate the flickering of this colored rectangle which will naturally occur from the video, I would like to average, say, the color of the last 60 frames of the video and always have the rectangle displaying that averaged color.
What would be an approach to making this happen?