Quantcast
Channel: Library Questions - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 2896

Avergage Brightness of frames of video

$
0
0

How would I take the average brightness of a video file and whilst its playing back use that brightness level to control another part of the program e.g. the frequency of a sine wave? This is something that I managed to create in Max but I want to recreate it in Processing as I cannot afford to buy max. I know that I would have to add all the values of the pixels and divide by the amount of pixels, but I cannot get it to work. Any help would be greatly appreciated.


Viewing all articles
Browse latest Browse all 2896

Trending Articles