Modified camera.py to support reading from file, webcam, or generate a random image
Needs opencv 2.6.4 to be installed
Tested on MacBook 10.6.8 with MacPorts