2014.11.11時点でのインストール情報です。
pythonまわりがややこしいので、pyenvのanaconda-2.0.1にインストールする方針
以下をインストール
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| #!/bin/bash | |
| ARCH="-arch i386" | |
| SDK="-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk" | |
| SDKLIB="-Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk" | |
| export MACOSX_DEPLOYMENT_TARGET="10.7" | |
| export CFLAGS="$ARCH $SDK -mmacosx-version-min=$MACOSX_DEPLOYMENT_TARGET" |
| #include "ofMain.h" | |
| #include "ofxCv.h" | |
| using namespace ofxCv; | |
| using namespace cv; | |
| class ofApp : public ofBaseApp { | |
| ofImage image; | |
| find . -name "DerivedData" -print -exec rm -rf {} ";" |
| #include "ofMain.h" | |
| static const bool USE_CAM = true; | |
| static const string MOVIE_PATH = ""; | |
| template <bool Cond, class Then, class Else> | |
| struct if_; | |
| template <class Then, class Else> | |
| struct if_<true, Then, Else> { | |
| typedef Then type; |
2014.11.11時点でのインストール情報です。
pythonまわりがややこしいので、pyenvのanaconda-2.0.1にインストールする方針
以下をインストール
| # homebrew-cask | |
| brew tap phinze/homebrew-cask | |
| brew install brew-cask | |
| brew tap caskroom/homebrew-versions | |
| brew cask install sublime-text3 | |
| brew cask install google-chrome | |
| brew cask install google-chrome-canary | |
| brew cask install dropbox |
| tap phinze/homebrew-cask | |
| tap caskroom/homebrew-versions | |
| update | |
| install brew-cask | |
| install cmake | |
| install eigen | |
| install liblo | |
| cask install adobe-creative-cloud |
| brew install python | |
| brew tap yusuketomoto/homebrew-gnuradio-1 | |
| pip install --upgrade setuptools | |
| pip install --upgrade pip | |
| pip install matplotlib -U | |
| brew install gnuradio --with-qt --with-docs --with-brewed-python | |
| pip install lxml |
| #include "ofMain.h" | |
| #include "ofxCv.h" | |
| const string path_0 = "prev.tif"; | |
| const string path_1 = "cur.tif"; | |
| class ofApp : public ofBaseApp | |
| { | |
| ofVideoGrabber video; | |
| ofxCv::FlowFarneback forward; |