Introduction - If you have any usage issues, please Google them yourself
This program works together with Processing and must be run on a Sketch. It calculates the brightness of all the grey-values of the video-stream and draws a histogram. The number of bins can be adjusted, not in the code: just live adjustment.