Opencv on Openshift
When I wanted to intall opencv on my python-2.7 openshift online cartridge I faced the problem of quota limitation to 1GB.
I found this blog post by Stephen Nneji discussed how to use DIY cartridge and install python and opencv manually. Another blog post by Nikhil Kumar used the Python-2.7 cartridge template to reduce the size of compiled opencv.
I collected the complete steps and put them in a single bash script.
To run this script in your openshift Python-2.7 cartridge, run the following command:
Then test importing opencv: