Processing sketch that loads and play a movie file, and for every frame calculates average color levels and sends out the results as osc messages.
Copy your video file (or use symlinks) in a folder called "data" in the same location of the sketch. Change the screen resolution of the sketch to match the video file resolution.
Does the same but takes as input live image from camera.