Categories
Tips

Install OpenCV for python in OSX Mavericks 10.9

#Assuming that you have installed Xcode, Command Line Tools, CMake, and Python #Install ScipySuperpack ~$ curl https://raw.github.com/fonnesbeck/ScipySuperpack/master/install_superpack.sh > install_superpack.sh ~$ sh install_superpack.sh #Download OpenCV 2.4.2 #Extract OpenCV-2.4.2.tar.bz2 #Open Terminal at the extracted directory #At OpenCV-2.4.2 directory: ~$ echo “#define GTEST_USE_OWN_TR1_TUPLE 1” | cat > temp1 ~$ cat modules/ts/include/opencv2/ts/ts_gtest.h > temp2 ~$ cat temp1 temp2 > […]