For added effect, add a couple lines to set volume to max and play a loud high-pitch sine wave 400ms before image is snapped. The purpose of this is two-fold: hilarious portraits (albeit, at the cost of one's eardrums) and skinnerian conditioning resulting in improved code checking habits. Always analyze code before running it.