This will install the Anaconda distribution of Python and enable opencv2 features and some CUDA wrappers. This script is tested on my Ubuntu 14.04.
This script is not well-designed and has no error handling, so I recommend you to run the commands in the script step-by-step.