This processing script uses the Processing.org sketchbook to replace faces with smiley faces using an OpenCV capture feed. Click and drag the cursor in the webcam feed window along the y-axis in order to increase or decrease brightness.
This code is MIT Licensed.